@@ -176,7 +176,7 @@ pub unsafe fn lua_rotate(L: *mut lua_State, mut idx: c_int, mut n: c_int) {
176176#[ inline( always) ]
177177pub unsafe fn lua_copy ( L : * mut lua_State , fromidx : c_int , toidx : c_int ) {
178178 let abs_to = lua_absindex ( L , toidx) ;
179- luaL_checkstack ( L , 1 , cstr ! ( "not enough stack slots" ) ) ;
179+ luaL_checkstack ( L , 1 , cstr ! ( "not enough stack slots available " ) ) ;
180180 lua_pushvalue ( L , fromidx) ;
181181 lua_replace ( L , abs_to) ;
182182}
@@ -314,7 +314,7 @@ pub unsafe fn lua_rawseti(L: *mut lua_State, idx: c_int, n: lua_Integer) {
314314#[ inline( always) ]
315315pub unsafe fn lua_rawsetp ( L : * mut lua_State , idx : c_int , p : * const c_void ) {
316316 let abs_i = lua_absindex ( L , idx) ;
317- luaL_checkstack ( L , 1 , cstr ! ( "not enough stack slots" ) ) ;
317+ luaL_checkstack ( L , 1 , cstr ! ( "not enough stack slots available " ) ) ;
318318 lua_pushlightuserdata ( L , p as * mut c_void ) ;
319319 lua_insert ( L , -2 ) ;
320320 lua_rawset ( L , abs_i) ;
@@ -444,7 +444,7 @@ pub unsafe fn luaL_loadbufferx(
444444#[ inline( always) ]
445445pub unsafe fn luaL_len ( L : * mut lua_State , idx : c_int ) -> lua_Integer {
446446 let mut isnum = 0 ;
447- luaL_checkstack ( L , 1 , cstr ! ( "not enough stack slots" ) ) ;
447+ luaL_checkstack ( L , 1 , cstr ! ( "not enough stack slots available " ) ) ;
448448 lua_len ( L , idx) ;
449449 let res = lua_tointegerx ( L , -1 , & mut isnum) ;
450450 lua_pop ( L , 1 ) ;
@@ -526,14 +526,14 @@ pub unsafe fn luaL_tolstring(L: *mut lua_State, mut idx: c_int, len: *mut usize)
526526
527527#[ inline( always) ]
528528pub unsafe fn luaL_setmetatable ( L : * mut lua_State , tname : * const c_char ) {
529- luaL_checkstack ( L , 1 , cstr ! ( "not enough stack slots" ) ) ;
529+ luaL_checkstack ( L , 1 , cstr ! ( "not enough stack slots available " ) ) ;
530530 luaL_getmetatable ( L , tname) ;
531531 lua_setmetatable ( L , -2 ) ;
532532}
533533
534534pub unsafe fn luaL_getsubtable ( L : * mut lua_State , idx : c_int , fname : * const c_char ) -> c_int {
535535 let abs_i = lua_absindex ( L , idx) ;
536- luaL_checkstack ( L , 3 , cstr ! ( "not enough stack slots" ) ) ;
536+ luaL_checkstack ( L , 3 , cstr ! ( "not enough stack slots available " ) ) ;
537537 lua_pushstring_ ( L , fname) ;
538538 if lua_gettable ( L , abs_i) == LUA_TTABLE {
539539 return 1 ;
0 commit comments