Aug. 8, 2006
4:50 p.m.
Hi, I am surprised when reading this example in the documentation:
a = 1 a = weave.inline("return_val = Py::new_reference_to(Py::Int(a+1));",['a']) a 2
is it really true that I can not just write !? a = weave.inline("return_val = a+1;",['a']) I was under the impression that basic types were handled transparently; how about: a = weave.inline("char s[100] = "test"; return_val = s;") Thanks, Sebastian Haase
7220
Age (days ago)
7220
Last active (days ago)
0 comments
1 participants
participants (1)
-
Sebastian Haase