X-Git-Url: https://git.decadent.org.uk/gitweb/?p=ion3-doc.git;a=blobdiff_plain;f=ionnotes%2Fnode4.html;h=1ae2bf72847ad5555eb1dc8152b683c0bd1d9bde;hp=037e8bc20a64cb24781a5df6b5429e5809342872;hb=16a5f824c31d29598763c5f49918ef67a47ad7e0;hpb=6e84dc8312f2fdb5b8b7467a0279afd5b2df107f diff --git a/ionnotes/node4.html b/ionnotes/node4.html index 037e8bc..1ae2bf7 100644 --- a/ionnotes/node4.html +++ b/ionnotes/node4.html @@ -126,11 +126,11 @@ C side of Ion and Lua:   t -ExtlTab +ExtlTab Reference to Lua table f -ExltFn +ExltFn Reference to Lua function. o @@ -195,7 +195,7 @@ initialisation and deinitialisation code.

You've seen the terms level 1 and 2 call handler mentioned above. - + The Lua support code uses two so called call handlers to convert and check the types of parameters passed from Lua to C and back to Lua. The first one of these call handlers is the same for all exported functions and @@ -230,10 +230,10 @@ supported by the generated L2 call handlers).

The functions -extl_call, -extl_call_named, -extl_dofile and -extl_dostring +extl_call, +extl_call_named, +extl_dofile and +extl_dostring call a referenced function (ExtlFn), named function, execute a string and a file, respectively. The rest of the parameters for all these functions are similar. The 'spec' argument is a string of identifier @@ -249,7 +249,7 @@ passing succeeded or not.

Sometimes it is necessary to block calls to all but a limited set of Ion functions. This can be accomplished with -extl_set_safelist. +extl_set_safelist. The parameter to this function is a NULL-terminated array of strings and the return value is a similar old safelist. The call extl_set_safelist(NULL) removes any safelist and allows @@ -263,7 +263,7 @@ calls to all exported functions.

Configuration files should be read as before with the function -read_config_for +read_config_for except that the list of known options is no longer present.