Minor cleanups and versioning info added
This commit is contained in:
@@ -1,3 +1,13 @@
|
|||||||
|
# ChaiScript Versioning
|
||||||
|
|
||||||
|
ChaiScript tries to follow the [Semantic Versioning](http://semver.org/) scheme. This basically means:
|
||||||
|
|
||||||
|
* Major Version Number: API changes / breaking changes
|
||||||
|
* Minor Version Number: New Features
|
||||||
|
* Patch Version Number: Minor changes / enhancements
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# Initializing ChaiScript
|
# Initializing ChaiScript
|
||||||
|
|
||||||
```
|
```
|
||||||
@@ -109,6 +119,8 @@ chai.eval(R"(print("Hello World"))");
|
|||||||
|
|
||||||
## Unboxing Return Values
|
## Unboxing Return Values
|
||||||
|
|
||||||
|
Returns values are of the type `Boxed_Value` which is meant to be opaque to the programmer. Use one of the unboxing methods to access the internal data.
|
||||||
|
|
||||||
### Prefered
|
### Prefered
|
||||||
|
|
||||||
```
|
```
|
||||||
@@ -230,6 +242,9 @@ on your platform.
|
|||||||
|
|
||||||
## Functions
|
## Functions
|
||||||
|
|
||||||
|
Note that any type of ChaiScript function can be passed freely to C++ and automatically
|
||||||
|
converted into an `std::function` object.
|
||||||
|
|
||||||
### General
|
### General
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user