Difference between revisions of "Talk:Embedding a new programming language as a module"

From AOLserver Wiki
Jump to navigation Jump to search
Line 5: Line 5:
  
 
Would be useful here?
 
Would be useful here?
 
  
 
----
 
----
Line 13: Line 12:
 
Ns_RegisterShutdown(MyLuaCleanup, ...);
 
Ns_RegisterShutdown(MyLuaCleanup, ...);
 
</pre>
 
</pre>
 +
 +
----
 +
 +
Also eventually the reader may need to learn about <pre>Ns_ConfigGetValue</pre> to complete more complex tasks.

Revision as of 22:08, 5 December 2005

Do you think any examples like:

Ns_Log(Debug, "opening lua state");

Would be useful here?


What about proper termination:

Ns_RegisterShutdown(MyLuaCleanup, ...);

Also eventually the reader may need to learn about

Ns_ConfigGetValue

to complete more complex tasks.