Gocator Development Kit
 All Classes Files Functions Variables Typedefs Friends Modules Pages
API Limitations

Due to the system architecture used for the GDK, there are some limitations in the API a developer has access to.

In general, C standard library functions should be avoided, and kApi alternatives used in their place. Using unsupported C stdlib functions can cause GDK plugins to fail to load (e.g. tools fail to show up).

Example:

C-stdlib Function kApi Function
assert kAssert
isnan kIsNanOrInf
isinf kIsNanOrInf
toupper kChar_ToUpper_
tolower kChar_ToLower_

Exceptions:

  • Most of math.h is acceptable, such as floor() or ceil(), which we do not intend to wrap.

If you require a C stdlib function that has no kApi alternative, and causes load failures when used, please inform us so we can add support for it.