Merge branch 'develop' of github.com:ChaiScript/ChaiScript into develop
This commit is contained in:
commit
6b7481e6a1
@ -222,7 +222,7 @@ Conversion to `std::shared_ptr<T> &` is supported for function calls, but if you
|
|||||||
```cpp
|
```cpp
|
||||||
// ok this is supported, you can register it with chaiscript engine
|
// ok this is supported, you can register it with chaiscript engine
|
||||||
void nullify_shared_ptr(std::shared_ptr<int> &t) {
|
void nullify_shared_ptr(std::shared_ptr<int> &t) {
|
||||||
t == nullptr
|
t = nullptr
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user