I hereby claim:
- I am jeremyong on github.
- I am jeremyong (https://keybase.io/jeremyong) on keybase.
- I have a public key whose fingerprint is 6B25 C16A 09DF D412 7252 7078 FAEB 4053 B50B 0549
To claim this, I am signing this object:
#pragma once | |
namespace sel { | |
class State { | |
private: | |
lua_State *_l; | |
public: | |
State() : _l(nullptr) { _l = luaL_newstate(); } | |
State(const Luab &other) = delete; | |
State &operator=(const Luab &other) = delete; |
#include <string> | |
#include <cassert> | |
#include "selene.h" | |
int main() { | |
sel::State state; | |
l.Load("example.lua") | |
int difference; | |
std::string greeting; |
function subtract_and_hello(a, b) | |
return a - b, "hello" | |
end |
#include <string> | |
#include <cassert> | |
extern "C" { | |
#include "lua.h" | |
#include "lauxlib.h" | |
#include "lualib.h" | |
int main() { | |
lua_State *l = luaL_newstate(); |
I hereby claim:
To claim this, I am signing this object: