made a test green again
This commit is contained in:
parent
d2872748c2
commit
96be38e794
3 changed files with 4 additions and 6 deletions
|
|
@ -3590,10 +3590,8 @@ strings automatically:
|
||||||
Dynlib pragma for import
|
Dynlib pragma for import
|
||||||
------------------------
|
------------------------
|
||||||
With the `dynlib`:idx: pragma a procedure can be imported from
|
With the `dynlib`:idx: pragma a procedure can be imported from
|
||||||
|
a dynamic library (``.dll`` files for Windows, ``lib*.so`` files for UNIX).
|
||||||
a dynamic library (``.dll`` files for Windows, ``lib*.so`` files for UNIX). The
|
The non-optional argument has to be the name of the dynamic library:
|
||||||
|
|
||||||
non-optional argument has to be the name of the dynamic library:
|
|
||||||
|
|
||||||
.. code-block:: Nimrod
|
.. code-block:: Nimrod
|
||||||
proc gtk_image_new(): PGtkWidget {.
|
proc gtk_image_new(): PGtkWidget {.
|
||||||
|
|
|
||||||
|
|
@ -51,7 +51,7 @@
|
||||||
<ResourceBaseClass Value="Form"/>
|
<ResourceBaseClass Value="Form"/>
|
||||||
<UnitName Value="Unit1"/>
|
<UnitName Value="Unit1"/>
|
||||||
<CursorPos X="26" Y="27"/>
|
<CursorPos X="26" Y="27"/>
|
||||||
<TopLine Value="1"/>
|
<TopLine Value="2"/>
|
||||||
<EditorIndex Value="0"/>
|
<EditorIndex Value="0"/>
|
||||||
<UsageCount Value="21"/>
|
<UsageCount Value="21"/>
|
||||||
<Loaded Value="True"/>
|
<Loaded Value="True"/>
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
discard """
|
discard """
|
||||||
file: "system.nim"
|
file: "system.nim"
|
||||||
line: 678
|
line: 637
|
||||||
errormsg: "type mismatch"
|
errormsg: "type mismatch"
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue