mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-06-04 11:42:28 +00:00
parent
f968e2a726
commit
8593580d0a
4 changed files with 17 additions and 5 deletions
|
@ -41,6 +41,17 @@ lsqlite3 (MIT License)\\n\
|
|||
Copyright 2002-2016 Tiago Dionizio, Doug Currie\"");
|
||||
asm(".include \"libc/disclaimer.inc\"");
|
||||
|
||||
// LOCAL CHANGES
|
||||
//
|
||||
// - Remove online backup code
|
||||
// - Remove trace callback code
|
||||
// - Remove progress callback code
|
||||
// - Removed extension loading code
|
||||
// - Relocate static .data to .rodata
|
||||
// - Changed lua_strlen() to lua_rawlen()
|
||||
//
|
||||
#define LSQLITE_VERSION "0.9.5"
|
||||
|
||||
/* luaL_typerror always used with arg at ndx == NULL */
|
||||
#define luaL_typerror(L,ndx,str) luaL_error(L,"bad argument %d (%s expected, got nil)",ndx,str)
|
||||
/* luaL_register used once, so below expansion is OK for this case */
|
||||
|
@ -1733,11 +1744,6 @@ static int lsqlite_newindex(lua_State *L) {
|
|||
return 0;
|
||||
}
|
||||
|
||||
#ifndef LSQLITE_VERSION
|
||||
/* should be defined in rockspec, but just in case... */
|
||||
#define LSQLITE_VERSION "unknown"
|
||||
#endif
|
||||
|
||||
/* Version number of this library
|
||||
*/
|
||||
static int lsqlite_lversion(lua_State *L) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue