Setting the dynamic library interface

Specify the interface style to be used in the dynamically linkable library.

Each dynamically loaded library must contain exactly one copy of this definition:

extern "C" a_sql_uint32 extfn_use_new_api(void )
{ 
return EXTFN_V3_API;
}
This definition informs the server of which interface style is being used, and therefore how to access the UDFs defined in this dynamically linkable library. For high-performance IQ UDFs, only new interface style (EXTFN_V3_API) is supported.
Related concepts
User-defined function restrictions
Maintenance of user-defined functions
Compiling and linking source code to build dynamically linkable libraries
SQL data types
Related tasks
Creating a user-defined function
Calling user-defined functions
Dropping user-defined functions
Granting and revoking permissions
Using Microsoft Visual Studio debugger for user-defined functions