jeremyong / Selene

Simple C++11 friendly header-only bindings to Lua
zlib License
813 stars 117 forks source link

forgot return in readme.md@Accepting Lua functions as Arguments #182

Open USSRcoder opened 5 years ago

USSRcoder commented 5 years ago
function pass_add(x, y)
    return take_fun_arg(add, x, y) 
end

instead of

function pass_add(x, y)
    take_fun_arg(add, x, y) 
end

in readme.md@Accepting Lua functions as Arguments in sample code;