diff options
| author | gingerBill <bill@gingerbill.org> | 2020-01-04 18:04:12 +0000 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2020-01-04 18:04:12 +0000 |
| commit | 5c7d6fcfd08a6e99e6e493e7adc3ef51d10e2fcc (patch) | |
| tree | 71f00a98bbfd5f43002d9e7fb65911a53590edaf /core/runtime | |
| parent | 5ae924f9886b9bb922499fa1b964bad48363db08 (diff) | |
Improve minimum dependency for complex numbers and quaternion numbers.
Diffstat (limited to 'core/runtime')
| -rw-r--r-- | core/runtime/core.odin | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/runtime/core.odin b/core/runtime/core.odin index 05f425eb3..ac623a53e 100644 --- a/core/runtime/core.odin +++ b/core/runtime/core.odin @@ -437,12 +437,14 @@ default_logger :: proc() -> Logger { } +@private __init_context_from_ptr :: proc "contextless" (c: ^Context, other: ^Context) { if c == nil do return; c^ = other^; __init_context(c); } +@private __init_context :: proc "contextless" (c: ^Context) { if c == nil do return; |