diff options
author | kyren <kerriganw@gmail.com> | 2017-06-05 00:41:48 -0400 |
---|---|---|
committer | kyren <kerriganw@gmail.com> | 2017-06-05 00:41:48 -0400 |
commit | b3218137e1121bce19c7b5988960f49bd0e96eae (patch) | |
tree | 4d8045bcf5f41a4d5d468c706ee1d911e978fd2a /src/ffi.rs | |
parent | e4052bb4d41707533a7c729ee54ee33ec6c3f72c (diff) | |
download | mlua-b3218137e1121bce19c7b5988960f49bd0e96eae.zip |
Somewhat smarter strategy for error_guard calls, less ungodly slow.
Also add raw_length table function
Diffstat (limited to 'src/ffi.rs')
-rw-r--r-- | src/ffi.rs | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -106,6 +106,7 @@ extern "C" { pub fn lua_setmetatable(state: *mut lua_State, index: c_int); pub fn lua_len(state: *mut lua_State, index: c_int); + pub fn lua_rawlen(state: *mut lua_State, index: c_int) -> usize; pub fn lua_next(state: *mut lua_State, index: c_int) -> c_int; pub fn lua_rawequal(state: *mut lua_State, index1: c_int, index2: c_int) -> c_int; |