diff options
-rw-r--r-- | index.html | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1520,7 +1520,7 @@ events to a common Linda, but... :).</font> | |||
1520 | <ol> | 1520 | <ol> |
1521 | <li> | 1521 | <li> |
1522 | Provide an <i>identity function</i> for your userdata, in C. This function is used for creation and deletion of your deep userdata (the shared resource), and for making metatables for the state-specific proxies for accessing it. The prototype is | 1522 | Provide an <i>identity function</i> for your userdata, in C. This function is used for creation and deletion of your deep userdata (the shared resource), and for making metatables for the state-specific proxies for accessing it. The prototype is |
1523 | <table border="1" bgcolor="#E0E0FF" cellpadding="10" style="width:50%"><tr><td><pre> void* idfunc( lua_State* L, enum eDeepOp op_);</pre></td></tr></table> | 1523 | <table border="1" bgcolor="#E0E0FF" cellpadding="10" style="width:50%"><tr><td><pre> void* idfunc( lua_State* L, DeepOp op_);</pre></td></tr></table> |
1524 | <tt>op_</tt> can be one of: | 1524 | <tt>op_</tt> can be one of: |
1525 | <ul> | 1525 | <ul> |
1526 | <li><tt>eDO_new</tt>: requests the creation of a new object, whose pointer is returned.</li> | 1526 | <li><tt>eDO_new</tt>: requests the creation of a new object, whose pointer is returned.</li> |