Commit Graph

6 Commits

Author SHA1 Message Date
Jaromír Müller
bca85ffff3 fix: correct parameter cast in fileFinalize to use data instead of file
The function signature declares `void* data` but the body incorrectly cast `file` instead of `data` when calling `closeFile`. This fix aligns the cast with the declared parameter name.
2018-04-05 21:02:30 +00:00
minirop
035c5b4c9c fix: add missing language specifier and variable declaration in fileClose example 2017-10-19 19:17:40 +00:00
Bob Nystrom
7ea381d001 docs: clarify embedding API docs with precise wording and cross-references 2017-10-19 14:02:18 +00:00
Bob Nystrom
4018d42c39 docs: remove placeholder application-lifecycle page and complete first draft of embedding docs
- Delete the empty "Application Lifecycle" page (was just a TODO placeholder)
- Expand "Storing C Data" from stub to full documentation covering foreign classes, initialization, access, and finalization
- Add note that VM is not re-entrant; warn against calling wrenCall/wrenInterpret from foreign methods
- Fix broken cross-reference links (configuring-the-vm.html, wren.hpp include)
- Clarify slot API usage: remove confusing sentence about implicit return of receiver
- Fix grammar: "each VM them differently" → "each VM differently", "is only be called" → "is only called"
- Improve phrasing throughout for clarity and consistency
2017-10-17 15:26:06 +00:00
Bob Nystrom
63f46adf06 docs: revise embedding docs with foreign methods and tighten existing pages 2017-02-12 18:14:37 +00:00
Bob Nystrom
2bb999127a docs: restructure embedding API docs into multi-page section with slots, lifecycle, and C interop guides 2016-05-16 15:09:14 +00:00