update swig on windows
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
from li_cmalloc import *
|
||||
|
||||
p = malloc_int()
|
||||
free_int(p)
|
||||
|
||||
ok = 0
|
||||
try:
|
||||
p = calloc_int(-1)
|
||||
free_int(p)
|
||||
except:
|
||||
ok = 1
|
||||
|
||||
if ok != 1:
|
||||
raise RuntimeError
|
||||
Reference in New Issue
Block a user