diff options
Diffstat (limited to 'source/libs/asura-lib-utils/io/binding/_file.cpp')
-rw-r--r-- | source/libs/asura-lib-utils/io/binding/_file.cpp | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/source/libs/asura-lib-utils/io/binding/_file.cpp b/source/libs/asura-lib-utils/io/binding/_file.cpp index 4120258..5c4c628 100644 --- a/source/libs/asura-lib-utils/io/binding/_file.cpp +++ b/source/libs/asura-lib-utils/io/binding/_file.cpp @@ -7,6 +7,23 @@ namespace AsuraEngine LUAX_REGISTRY(File) { + LUAX_REGISTER_METHODS(state, + { "New", _New }, + { "Open", _Open }, + { "Close", _Close }, + { "IsOpen", _IsOpen }, + { "GetMode", _GetMode }, + { "GetSize", _GetSize }, + { "Read", _Read }, + { "IsEOF", _IsEOF }, + { "Write", _Write }, + { "Flush", _Flush }, + { "Tell", _Tell }, + { "Seek", _Seek }, + { "SetBuffer", _SetBuffer }, + { "GetBuffer", _GetBuffer }, + { "GetFileName", _GetFileName } + ); } LUAX_POSTPROCESS(File) |