diff options
author | chai <chaifix@163.com> | 2019-03-25 23:53:17 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2019-03-25 23:53:17 +0800 |
commit | 70f8aa8d1a3c15bd1eee3cdd88b9b9ce8970fae5 (patch) | |
tree | 7d06fcdde4b92e1075f8daab943ef183e43651d4 /source/libs/asura-lib-utils/io/binding/_file.cpp | |
parent | 03b3b8ae80559745f98ef94569b421adddeb441f (diff) |
*misc
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) |