From: John L. <jr...@us...> - 2007-06-06 23:43:31
|
Update of /cvsroot/wxlua/wxLua/docs In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv4156/wxLua/docs Modified Files: binding.html changelog.txt Log Message: Rename structs WXLUACLASS, WXLUAMETHOD, WXLUADEFINE, WXLUASTRING, WXLUAEVENT to wxLuaBindClass, wxLuaBindMethod, wxLuaBindDefine, wxLuaBindString, wxLuaBindEvent Fix %renamed listCtrl:SetItemString to now use overload SetItem Fix recursion in traversing the base class methods Add IntArray_FromLuaTable for binding generator to do (int n, int* items) from a table Use NULL in bindings for items that are *pointers for clarity Use sizeof(struct name) instead of sizeof(array[0]) in bindings Rename wxLuaBinding GetLuaClassList to just GetClassArray since it's a C array Index: changelog.txt =================================================================== RCS file: /cvsroot/wxlua/wxLua/docs/changelog.txt,v retrieving revision 1.32 retrieving revision 1.33 diff -C2 -d -r1.32 -r1.33 *** changelog.txt 31 May 2007 21:38:40 -0000 1.32 --- changelog.txt 6 Jun 2007 23:42:56 -0000 1.33 *************** *** 67,70 **** --- 67,76 ---- functions. + - Renamed WXLUACLASS, WXLUAMETHOD, WXLUADEFINE, WXLUASTRING, WXLUAEVENT + structs to wxLuaBindClass, wxLuaBindMethod, wxLuaBindDefine, + wxLuaBindString, and wxLuaBindEvent. + - Renamed the GetLua[Class]List functions in wxLuaBindings to + Get[Class]Array, since they're C arrays not wxLists. + version 2.8.0.0 (released 24/12/2006) -------------------------------------------------------------------- Index: binding.html =================================================================== RCS file: /cvsroot/wxlua/wxLua/docs/binding.html,v retrieving revision 1.17 retrieving revision 1.18 diff -C2 -d -r1.17 -r1.18 *** binding.html 31 May 2007 17:18:47 -0000 1.17 --- binding.html 6 Jun 2007 23:42:56 -0000 1.18 *************** *** 1,14 **** <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> ! <html> ! <head> <meta content="text/html; charset=ISO-8859-1" http-equiv="content-type"> ! <title>wxLua Binding HowTo</title> ! ! ! <meta content="John Labenski" name="author"> - </head> <body> --- 1,10 ---- <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> ! <html><head> <meta content="text/html; charset=ISO-8859-1" http-equiv="content-type"> ! + <title>wxLua Binding HowTo</title><meta content="John Labenski" name="author"></head> <body> *************** *** 334,338 **** <li>int s_wxluatag_CLASS_NAME for each class that is mapped ! through the WXLUACLASS struct and when the binding is initialized will contain the tag index that lua assigns to the class for the userdata.</li> --- 330,334 ---- <li>int s_wxluatag_CLASS_NAME for each class that is mapped ! through the wxLuaBindClass struct and when the binding is initialized will contain the tag index that lua assigns to the class for the userdata.</li> *************** *** 341,345 **** class methods.</li> ! <li>A WXLUAMETHOD struct for each class to map the method function names to the C functions.</li> --- 337,341 ---- class methods.</li> ! <li>A wxLuaBindMethod struct for each class to map the method function names to the C functions.</li> *************** *** 353,380 **** <ul> ! <li>A WXLUAEVENT struct that contains all the wxEventType values and their associated wxEvent classes to push into the lua binding table.</li> ! <li>A WXLUADEFINE struct that contains all the numerical values to push into the lua binding table.</li> ! <li>A ! WXLUASTRING struct that contains all the strings to push into the lua binding table.</li> ! <li>A WXLUAOBJECT struct that contains all the objects to push as userdata into the lua binding table.</li> ! <li>A ! WXLUAMETHOD struct that contains all the global C functions to push into the lua binding table.</li> ! <li>A ! WXLUACLASS struct that contains the class names, all ! the WXLUAMETHOD structs from each *.i generated cpp files, and their tags.</li> --- 349,373 ---- <ul> ! <li>A wxLuaBindEvent struct that contains all the wxEventType values and their associated wxEvent classes to push into the lua binding table.</li> ! <li>A wxLuaBindDefine struct that contains all the numerical values to push into the lua binding table.</li> ! <li>A wxLuaBindString struct that contains all the strings to push into the lua binding table.</li> ! <li>A wxLuaBindObject struct that contains all the objects to push as userdata into the lua binding table.</li> ! <li>A wxLuaBindMethod struct that contains all the global C functions to push into the lua binding table.</li> ! <li>A wxLuaBindClass struct that contains the class names, all ! the wxLuaBindMethod structs from each *.i generated cpp files, and their tags.</li> *************** *** 577,581 **** function.</li> ! </ul> <li><i><b>LuaTable --- 570,577 ---- function.</li> ! </ul><li style="font-weight: bold; font-style: italic;">IntArray_FromLuaTable</li><ul><li>The ! binding generator will read from lua a numerically indexed table of ! integers and create two parameters (int count, int* array) to pass ! to a function.</li><li>The int* array will be automatically deleted and the function should not take ownership of it and delete it itself.</li></ul> <li><i><b>LuaTable *************** *** 687,694 **** <br> - <b><i>%builtin - DEPRECATED - use %function</i><br> - - </b><br> - <i><b>%class [%delete] [%noclassinfo] [%encapsulate] ClassName [, BaseClassName] <br> --- 683,686 ---- *************** *** 1422,1425 **** <br> ! </body> ! </html> --- 1414,1416 ---- <br> ! </body></html> \ No newline at end of file |