test1.nim
279 Bytes
import squeaknim
type
MyFloat = float32
Vector3 = object
x, y, z: MyFloat
setModulename "urhonimo", "UR"
wrapObject(Vector3)
writeExternalLibrary()
proc foo(a, b: Vector3): cstring {.exportSt: "bar".} =
result = "some string here"
writeSmallTalkCode("test1.st")