Mark 'externc' storage for variables
This commit is contained in:
parent
d47970e2fd
commit
befc9bc1f0
3 changed files with 14 additions and 2 deletions
|
|
@ -1,3 +1,6 @@
|
|||
import extern_c
|
||||
|
||||
extern_c.RealFunction(2)
|
||||
assert extern_c.cvar.int2 == 123
|
||||
assert extern_c.cvar.int3 == 456
|
||||
assert extern_c.cvar.int4 == 789
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue