|
External Development Guide: Adding System Routines |
|
The IDL_SysRtnGetEnabledNames() function can be used to obtain the names of all system routines which are currently enabled or disabled, either due to licensing reasons (i.e., some routines are disabled in IDL demo mode) or due to a call to IDL_SysRtnEnable().
void IDL_SysRtnGetEnabledNames(int is_function,IDL_STRING *str, int enabled)
Set to TRUE if a list of functions is desired, FALSE for a list of procedures.
Points to a buffer of IDL_STRING descriptors to fill in. The caller must call IDL_SysRtnNumEnabled() to determine how many such routines exist, and this buffer must be large enough to hold that number.
Set to TRUE to receive names of enabled routines, FALSE to receive names of disabled ones.
The memory supplied via str is filled in with the desired names.
IDL Online Help (March 06, 2007)