next up previous contents index
Next: function_arg_count Up: Function Previous: Function

function_name

   char * function_name(void * function)

Returns the function (built-in or not) whose name is function_name if this one exists, else returns 0. It is used for instance in the edir.sc SmacLib files to load color.sc, if this is not already done.

Attention Be careful, the string is allocated each time the function is called, use free() to release it.



Lionel Fournigault
Mon Dec 15 10:53:26 MET 1997