update swig on windows
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
from li_cpointer import *
|
||||
|
||||
|
||||
p = new_intp()
|
||||
|
||||
if intp_value(p) != 0:
|
||||
raise RuntimeError("not initialized")
|
||||
|
||||
intp_assign(p, 3)
|
||||
|
||||
if intp_value(p) != 3:
|
||||
raise RuntimeError
|
||||
|
||||
delete_intp(p)
|
||||
Reference in New Issue
Block a user