You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs.md
+4Lines changed: 4 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -76,6 +76,10 @@ All functions and types that deal with continuations have been renamed. For exam
76
76
77
77
In general, just replace the "k" with the word "cont". This is just to make the API more clear and Zig-like.
78
78
79
+
### `lua_error` and `luaL_error`
80
+
81
+
Because `error` is a reserved word in Zig, these functions have been renamed to `raiseError` and `raiseErrorAux` respectively.
82
+
79
83
### `lua_tostring` and `lua_tolstring`
80
84
81
85
These functions have been combined into `Lua.toString()`. The function `lua_tostring` is a macro around `lua_tolstring` and does not return the length of the string.
0 commit comments