Commit 92b9a2e6 authored by Kunshan Wang's avatar Kunshan Wang

WIP: Python binding type check

parent 5d43b544
......@@ -10,3 +10,4 @@ target
.d8_history
hs_err_pid*.log
/bin/
*.py[co]
This diff is collapsed.
#!/usr/bin/env python2
from __future__ import division, absolute_import, print_function, unicode_literals
from libmupython2 import *
dll = MuRefImpl2StartDLL(u"libmurefimpl2start.so")
mu = dll.mu_refimpl2_new()
ctx = mu.new_context()
h = ctx.handle_from_sint64(100, 64)
v = ctx.handle_to_sint64(h)
print("v=",v)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment