commit
a179dde3ed
1 changed files with 1 additions and 1 deletions
|
|
@ -1421,7 +1421,7 @@ Examples:
|
||||||
proc forEach(c: proc (x: int) {.cdecl.}) =
|
proc forEach(c: proc (x: int) {.cdecl.}) =
|
||||||
...
|
...
|
||||||
|
|
||||||
forEach(printItem) # this will NOT work because calling conventions differ
|
forEach(printItem) # this will NOT compile because calling conventions differ
|
||||||
|
|
||||||
|
|
||||||
.. code-block:: nimrod
|
.. code-block:: nimrod
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue