mirror of
https://github.com/ThePhD/sol2.git
synced 2024-03-22 13:10:44 +08:00
I cannot into writing.
This commit is contained in:
parent
f43adf9a3d
commit
dd977a40d1
|
@ -52,7 +52,7 @@ You then use it just like you would for any other part of the api:
|
|||
// regular function
|
||||
"is_cute", &pup::is_cute,
|
||||
// overloaded function
|
||||
"bark", sol::overloaded( &pup::bark, &ultra_bark )
|
||||
"bark", sol::overloaded( &pup::bark, &picky_bark )
|
||||
);
|
||||
|
||||
Thusly, doing the following in Lua:
|
||||
|
|
Loading…
Reference in New Issue
Block a user