type MyObject = object alice: cstring proc rtnObj(a: cstring): MyObject {.importc.} echo rtnObj(cstring"hello")