Require explicit extern members in extern class/object and update docs
This commit is contained in:
1 parent
e447c778ed
commit
979e6ea9b7
13 files changed
+105
-53
No files matched your search
@@ -249,5 +249,6 @@ Lyng now provides a public Kotlin reflection bridge and a Lyng‑first class bin
|
||||
|
||||
- **Bridge resolver**: explicit handles for values, vars, and callables with predictable lookup rules.
|
||||
- **Class bridge binding**: declare classes/members in Lyng (marked `extern`) and bind the implementations in Kotlin before the first instance is created.
|
||||
- **Extern declaration rule**: `extern class` / `extern object` are declaration-only; all members in their bodies must be explicitly marked `extern`.
|
||||
|
||||
See **Embedding Lyng** for full samples and usage details.
|
||||
Reference in new issue
Block a user