Commit Graph
6 Commits
Author SHA1 Message Date
Bob Nystrom 1661f5368f Allow passing a value when first starting a fiber.
If the function the fiber is created from takes a parameter, the value
passed to the first call() or transfer() gets bound to that parameter.

Also, this now correctly handles fibers with functions that take
parameters. It used to leave the stack in a busted state. Now, it's a
runtime error to create a fiber with a function that takes any more
than one parameter.
2017-10-19 20:45:13 -07:00
Bob Nystrom 2bb531d860 Tweak Fiber.error docs. 2017-10-05 06:50:45 -07:00
aaronduino 16bab57056 fix #468 2017-09-16 21:38:35 -07:00
Bob Nystrom 500c7b0426 Add List constructors to docs. 2016-08-04 06:28:41 -07:00
Bob Nystrom befe90501b Start writing comprensive embedding docs.
- Break embedding out into a separate section with multiple pages.
- Document the constraints on the API.
- Document the slot array and WrenValue.

Still lots more to do, but getting there...
2016-05-16 08:09:14 -07:00
Bob Nystrom 82706b74fc Reorganize site to make room for documenting the other built-in modules. 2015-11-08 13:31:22 -08:00