/trunk/Examples/test-suite/python/li_cpointer_runme.py
Python | 10 lines | 6 code | 4 blank | 0 comment | 1 complexity | 21d38e30b90a869ff384c8c82771eb4c MD5 | raw file
Possible License(s): LGPL-2.1, Cube, GPL-3.0, 0BSD, GPL-2.0
- from li_cpointer import *
- p = new_intp()
- intp_assign(p,3)
- if intp_value(p) != 3:
- raise RuntimeError
- delete_intp(p)