Howto:Extend Nasal: Difference between revisions

Jump to navigation Jump to search
m
Line 57: Line 57:
   };
   };
</syntaxhighlight>
</syntaxhighlight>
(Note, as of 06/2012, some of these functions have meanwhile been moved to a different file and are initialized there: NasalPositioned.cxx)


So, the basic format is "name" (string), function_pointer - whereas "name" refers to the internal name used by Nasal and its scripts, and "function_pointer" has to use the right function signature and is a pointer to the implementation of the Nasal function in C/C++ code space:
So, the basic format is "name" (string), function_pointer - whereas "name" refers to the internal name used by Nasal and its scripts, and "function_pointer" has to use the right function signature and is a pointer to the implementation of the Nasal function in C/C++ code space:

Navigation menu