Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.
使用上下文初始化接口。
public a_sqlany_interface_context * sqlany_init_ex( const char * app_name, sacapi_u32 api_version, sacapi_u32 * version_available )
app_name 用于命名所使用的 API 的字符串,例如 "PHP"、"PERL" 或 "RUBY"。
api_version 应用程序使用的当前 API 版本。通常应该是 SQLANY_API_VERSION_* 宏之一
version_available 用于返回支持的 API 的最大版本的可选参数。
成功时返回上下文对象,失败时返回 NULL。