Changes

Jump to navigation Jump to search
m
Line 130: Line 130:  
<syntaxhighlight lang="c">
 
<syntaxhighlight lang="c">
 
  static naRef f_cool (naContext c, naRef me, int argc, naRef* args)
 
  static naRef f_cool (naContext c, naRef me, int argc, naRef* args)
<syntaxhighlight>
+
</syntaxhighlight>
    
The arguments to the function are passed in in the args array. The number of arguments is passed via the argc parameter (this is basically consistent with the standard signature of main in C/C++).
 
The arguments to the function are passed in in the args array. The number of arguments is passed via the argc parameter (this is basically consistent with the standard signature of main in C/C++).

Navigation menu