diff options
author | Mike Pall <mike> | 2011-06-12 21:09:20 +0200 |
---|---|---|
committer | Mike Pall <mike> | 2011-06-12 21:09:20 +0200 |
commit | 0c8696dfbf5a42a87a65f7b911ba2bc31a6a942c (patch) | |
tree | aca23d5906a984a22bc75358c18446bb01d04f28 /src/lj_api.c | |
parent | 287de611a209ed0e76be8623968106a2a9f13901 (diff) | |
download | luajit2-0c8696dfbf5a42a87a65f7b911ba2bc31a6a942c.tar.gz |
No need for L argument to lj_str_initbuf().
Diffstat (limited to 'src/lj_api.c')
-rw-r--r-- | src/lj_api.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lj_api.c b/src/lj_api.c index 6a68cd84..34c57806 100644 --- a/src/lj_api.c +++ b/src/lj_api.c @@ -1133,7 +1133,7 @@ LUA_API int lua_load(lua_State *L, lua_Reader reader, void *data, ls.rfunc = reader; ls.rdata = data; ls.chunkarg = chunkname ? chunkname : "?"; - lj_str_initbuf(L, &ls.sb); + lj_str_initbuf(&ls.sb); status = lj_vm_cpcall(L, NULL, &ls, cpparser); lj_lex_cleanup(L, &ls); lj_gc_check(L); |