mirror of
https://github.com/ThePhD/sol2.git
synced 2024-03-22 13:10:44 +08:00
Merge branch 'develop' into sol3
This commit is contained in:
commit
a1951a79f2
|
@ -49,12 +49,9 @@ More examples are given in the examples directory [here](https://github.com/TheP
|
|||
|
||||
## Supporting
|
||||
|
||||
You can [donate to support Sol and the project](https://www.paypal.me/LMeneide), which is always appreciated! This is a time-consuming effort, so individuals who donate get to:
|
||||
Help the project grow on [patreon](https://www.patreon.com/thephd)!
|
||||
|
||||
- steer the direction and time spent on sol
|
||||
- get a role on the Discord server
|
||||
- get their name put up in the CONTRIBUTORS list
|
||||
- put something of their choice on sol2's README or the documentation's front page
|
||||
You can also [donate to support Sol](https://www.paypal.me/LMeneide), which is always appreciated! There are reward tiers for patrons on patreon, too!
|
||||
|
||||
You can also help out the library by submitting pull requests to fix anything or add anything you think would be helpful! This includes making small, useful examples of something you haven't seen, or fixing typos and bad code in the documentation.
|
||||
|
||||
|
|
|
@ -434,6 +434,7 @@ namespace sol {
|
|||
const void* pointer() const noexcept {
|
||||
int si = push();
|
||||
const void* vp = lua_topointer(lua_state(), -si);
|
||||
lua_pop(this->lua_state(), si);
|
||||
return vp;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user