Zero initialize %array_functions and %array_class

This commit is contained in:
William S Fulton 2016-12-18 16:53:24 +00:00
commit bdf71b0067
4 changed files with 13 additions and 2 deletions

View file

@ -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: