fix(migrate): 0.R5 - a state an argument to a C function comes out of keeps the mutability it was declared with, so --tighten leaves the mut on a wrapper writing through a native handle (phys_force) and does not add one to a query that reads through one
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
b247603b7e
commit
67d8079c47
4 changed files with 13002 additions and 12636 deletions
|
|
@ -239,6 +239,7 @@ function ck_call_named(e: Node, name: pointer) -> pointer {
|
|||
let x = ck_extern(name)
|
||||
if x != null {
|
||||
ck_raw(e, `the C function {name}`)
|
||||
ck_extern_writes(e)
|
||||
ck_extern_arg = true
|
||||
let xt = ck_call_fn(e, name, x)
|
||||
ck_extern_arg = false
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue