X-Git-Url: https://git.decadent.org.uk/gitweb/?p=ion3-doc.git;a=blobdiff_plain;f=ionnotes%2Fnode4.html;fp=ionnotes%2Fnode4.html;h=02ad0364681f411e7a6419524d3a37d63dce00f8;hp=41c85218ebd289de936185050f6991fa87f7c6c7;hb=428266c577f55bd77cf036ed0d2af379613471e4;hpb=4ea582c4cff64f9aa2309f46cef0161143cb1faf diff --git a/ionnotes/node4.html b/ionnotes/node4.html index 41c8521..02ad036 100644 --- a/ionnotes/node4.html +++ b/ionnotes/node4.html @@ -28,31 +28,31 @@ original version by: Nikos Drakos, CBLU, University of Leeds @@ -61,13 +61,13 @@ original version by: Nikos Drakos, CBLU, University of Leeds Subsections @@ -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.

@@ -278,31 +278,31 @@ and properties may be read with the extl_table_gets functions.