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