Lua API: add get_vector() and support for renaming class methods

See dfhack/df-structures@5bdb0e8
develop
lethosor 2017-12-23 20:18:55 -05:00
parent 9cc392e457
commit e7a95155ab
2 changed files with 2 additions and 1 deletions

@ -60,4 +60,5 @@ namespace df {
#define FLD(mode, name) struct_field_info::mode, #name, offsetof(CUR_STRUCT, name) #define FLD(mode, name) struct_field_info::mode, #name, offsetof(CUR_STRUCT, name)
#define GFLD(mode, name) struct_field_info::mode, #name, (size_t)&df::global::name #define GFLD(mode, name) struct_field_info::mode, #name, (size_t)&df::global::name
#define METHOD(mode, name) struct_field_info::mode, #name, 0, wrap_function(&CUR_STRUCT::name) #define METHOD(mode, name) struct_field_info::mode, #name, 0, wrap_function(&CUR_STRUCT::name)
#define METHOD_N(mode, func, name) struct_field_info::mode, #name, 0, wrap_function(&CUR_STRUCT::func)
#define FLD_END struct_field_info::END #define FLD_END struct_field_info::END

@ -1 +1 @@
Subproject commit c531a09019e521fabb3c943bb49f831f635c309f Subproject commit 31ea71c778beba46f941296a89fa579d5261dab4