preparations for making 'closure' the default calling convention for proc types
This commit is contained in:
parent
56b4e3ad91
commit
8d99753d63
36 changed files with 117 additions and 102 deletions
|
|
@ -2676,7 +2676,7 @@ when false:
|
|||
proc g_critical*(format: cstring){.varargs.}
|
||||
proc g_warning*(format: cstring){.varargs.}
|
||||
type
|
||||
TGPrintFunc* = proc (str: cstring)
|
||||
TGPrintFunc* = proc (str: cstring){.cdecl, varargs.}
|
||||
|
||||
proc g_set_print_handler*(func: TGPrintFunc): TGPrintFunc{.cdecl,
|
||||
dynlib: gliblib, importc: "g_set_print_handler".}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue