Zero initialize %array_functions and %array_class
This commit is contained in:
parent
cc56765a7a
commit
bdf71b0067
4 changed files with 13 additions and 2 deletions
|
|
@ -2,6 +2,10 @@ from li_cpointer_cpp import *
|
|||
|
||||
|
||||
p = new_intp()
|
||||
|
||||
if intp_value(p) != 0:
|
||||
raise RuntimeError("not initialized")
|
||||
|
||||
intp_assign(p, 3)
|
||||
|
||||
if intp_value(p) != 3:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue