PageRenderTime 6ms CodeModel.GetById 2ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/trunk/Examples/test-suite/python/li_cpointer_runme.py

#
Python | 10 lines | 6 code | 4 blank | 0 comment | 1 complexity | 21d38e30b90a869ff384c8c82771eb4c MD5 | raw file
 1from li_cpointer import *
 2
 3
 4p = new_intp()
 5intp_assign(p,3)
 6
 7if intp_value(p) != 3:
 8    raise RuntimeError
 9
10delete_intp(p)