Howto:Extend Nasal: Difference between revisions

Jump to navigation Jump to search
m
Line 52: Line 52:
   };
   };


So, the basic format is "name", function_pointer - whereas "name" refers to the name used by Nasal, and function_pointer has to use the right function signature:
So, the basic format is "name", function_pointer - whereas "name" refers to the internal name used by Nasal and its script, 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:


  // The function signature for an extension function:
  // The function signature for an extension function:
2,561

edits

Navigation menu