Alexander
Alexander
This is just a typo fix. Fixes #44 clang-10 refuses to compile library: ``` .../libelfin/elf/data.hh:558:22: error: cannot assign to non-static data member within const member function 'set_binding' info = (info...
Just for now `banana` doesn't support sending files (see [`InputFile`](https://core.telegram.org/bots/api/#inputfile) API section). We need a solution that is: - **Optional** - do not require every agent to support file uploading...
Now `sol::wrap` is implemented as follows: https://github.com/ThePhD/sol2/blob/a7da2a8e889498b0c5a4ed6d9e3463af02bb6102/include/sol/function_types_templated.hpp#L132-L139 This is _not so user-friendly_ API, because one should use `sol::wrap` (or write macro to avoid copy-pasting). I suggest replacing it with: ```...
Consider the following: ``` #include #include int main() { std::printf("sol: %s\n", SOL_VERSION_STRING); sol::state L; L.open_libraries(); struct X {}; auto x = L.new_usertype("X"); int v = 1; x["v"] = sol::var(std::ref(v)); //...
Consider the following: ``` #include #include struct X { static inline int v = 1; static void set_var(int value) { X::v = value; } static int get_var() { return X::v;...