Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lua_Reader had wrong signature #14

Merged
merged 1 commit into from
Oct 18, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion source/bindbc/lua/v51/types.d
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ struct lua_State;

extern(C) nothrow {
alias lua_CFunction = int function(lua_State*);
alias lua_Reader = const(char)* function(lua_State*,void*,size_t);
alias lua_Reader = const(char)* function(lua_State*,void*,size_t*);
alias lua_Writer = int function(lua_State*,const(void)*,size_t,void*);
alias lua_Alloc = void* function(void*,void*,size_t,size_t);
}
Expand Down
2 changes: 1 addition & 1 deletion source/bindbc/lua/v52/types.d
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ struct lua_State;

extern(C) nothrow {
alias lua_CFunction = int function(lua_State*);
alias lua_Reader = const(char)* function(lua_State*,void*,size_t);
alias lua_Reader = const(char)* function(lua_State*,void*,size_t*);
alias lua_Writer = int function(lua_State*,const(void)*,size_t,void*);
alias lua_Alloc = void* function(void*,void*,size_t,size_t);
}
Expand Down
2 changes: 1 addition & 1 deletion source/bindbc/lua/v53/types.d
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ struct lua_State;
extern(C) nothrow {
alias lua_CFunction = int function(lua_State*);
alias lua_KFunction = int function(lua_State*,int,lua_KContext);
alias lua_Reader = const(char)* function(lua_State*,void*,size_t);
alias lua_Reader = const(char)* function(lua_State*,void*,size_t*);
alias lua_Writer = int function(lua_State*,const(void)*,size_t,void*);
alias lua_Alloc = void* function(void*,void*,size_t,size_t);
}
Expand Down
2 changes: 1 addition & 1 deletion source/bindbc/lua/v54/types.d
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ struct lua_State;
extern(C) nothrow {
alias lua_CFunction = int function(lua_State* L);
alias lua_KFunction = int function(lua_State* L, int status, lua_KContext ctx);
alias lua_Reader = const(char)* function(lua_State* L, void* ud, size_t sz);
alias lua_Reader = const(char)* function(lua_State* L, void* ud, size_t* sz);
alias lua_Writer = int function(lua_State* L, const(void)* p, size_t sz, void* ud);
alias lua_Alloc = void* function(void* ud, void* ptr, size_t osize, size_t nsize);
alias lua_WarnFunction = void function(void* ud, const(char)* msg, int tocont);
Expand Down