proc callback(arg: cint; arg2: cstring) {.cdecl.} =
      setupForeignThreadGc()
      # ... more code here
    
    
    toC(callback)
    
    
    Run

Reply via email to