Keywords Used in Declarations

LEADTOOLS uses the following list in declarations of the handles and data types:

Keyword

Definition and Usage

L_FAR

Defined as nothing; used as a placeholder.

L_HUGE

Defined as nothing; used as a placeholder.

L_EXPORT

Defined as nothing; used as a placeholder.

L_PASCAL

Defined as nothing; used as a placeholder.

EXT_FUNCTION

Defined as WINAPI; used as an attribute for all toolkit functions.

pEXT_FUNCTION

Defined as EXT_FUNCTION L_FAR *; used as an attribute when defining pointers to toolkit functions.

EXT_CALLBACK

Defined as _cdecl L_FAR; used as an attribute for all toolkit callback functions.

pEXT_CALLBACK

Defined as EXT_CALLBACK L_FAR *; used as an attribute when defining pointers to toolkit callback functions.