Howto:Extend Nasal: Difference between revisions

Jump to navigation Jump to search
m
Line 70: Line 70:
   }
   }


So, this is basically the boilerplate that you'll need to use in order to expose a new function (i.e. you can just copy & paste this into the NasalSys.cxx file).
So, this is basically the boilerplate that you'll need to use in order to expose a new function (i.e. you can just copy & paste this into the NasalSys.cxx file and change the function's name accordingly).


If you don't have anything else to return, you can just return naNil(), so that a function named "f_cool" looks like this:
If you don't have anything else to return, you can just return naNil(), so that a function named "f_cool" looks like this:
2,561

edits

Navigation menu