f149dc12
Andreas Rumpf
first somewhat wo...
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
import squeaknim
type
MyFloat = float32
Vector3 = object
x, y, z: MyFloat
setModulename "urhonimo"
wrapObject("Vector3", Vector3)
writeExternalLibrary()
proc foo(a, b: Vector3; c: openArray[int]): cstring {.exportSt: "bar".} =
result = "some string here"
writeSmallTalkCode("test1.st")
|