1Change Log 2---------- 3 4### Changes from version 1 to 2 5 6The major change in this version is due to a change the internal hashtable 7utility, which was removed and all the internal metadata which LuaAutoC uses 8was instead put into the Lua registry and accessed using Lua tables. 9 10The two major advantages of this is that LuaAutoC no longer relies on 11static variables, and that all the meta-data about the LuaAutoC types 12can be found by looking into the registry either by C users or Lua users. 13 14Here is a brief (incomplete) change log intended for people porting code. 15 16* Removal of internal Hashtable. Instead all data is in the Lua registry in Lua tables 17* Merged all source files into single source file. Simplified build process. 18* Renamed header `lautofunc.h` to `lautocall.h`. 19* All open and close functions merged into `luaA_open` and `luaA_close` 20* All functions now take Lua state `L` as the first variable. 21* Functions that ended in `typeid` to indicate they take `luaA_Type` inputs now end in just `type` 22* Typedef of `luaA_Type` is now `lua_Integer`. 23* Renamed `luaA_typeid` to `luaA_type` 24* Renamed `luaA_type_name` to `luaA_typename`. 25* Renamed `luaA_type_size` to `luaA_typesize`. 26* Removed `luaA_struct_next`, this proved difficult to implement in the new system. 27* Enum functions no longer take case sensitive argument. Aliases should be used instead (`luaA_enum_value_name`). 28* Removed `luaA_function_void`. Use `luaA_function` and specify `void` as the return type. This is now dealt with automatically. 29* Removed `luaA_function_decl_void`. Use `luaA_function_declare` and specify `void` as the return type. This is now dealt with automatically. 30* Removed `luaA_function_reg_void`. Use `luaA_function_register` and specify `void` as the return type. This is now dealt with automatically. 31* Renamed `luaA_function_decl` to `luaA_function_declare`. 32* Renamed `luaA_function_reg` to `luaA_function_register`. 33* Function `luaA_function` no longer takes argument count. This is now found automatically. 34* Function `luaA_function_declare` no longer takes argument count. This is now found automatically. 35* Function `luaA_function_register` no longer takes argument count. This is now found automatically. 36* Exposed argument and return stack sizes for fake stack. 37* Renamed `demos` folder to `examples` and all the files within. 38* Changed `luaA_call` and `luaA_call_name` to remove their arguments from stack, only leaving return values. 39* Switched argument order to `luaA_struct_push_member` so that member comes before input. 40* Switched argument order to `luaA_struct_push_member_name` so that member comes before input. 41* Switched argument order to `luaA_struct_to_member` so that member comes before output. 42* Switched argument order to `luaA_struct_to_member_name` so that member comes before output. 43 44