diff options
author | gingold | 2010-02-26 05:47:31 +0000 |
---|---|---|
committer | gingold | 2010-02-26 05:47:31 +0000 |
commit | 1c96cc3b3708a3602ae9b99fcd8f462ef985d1bb (patch) | |
tree | a51990dcc6e697c579b3847afebabaa848134695 | |
parent | 926b893b005c0dbade106f04f9e2dddb781e8ec1 (diff) | |
download | ghdl-1c96cc3b3708a3602ae9b99fcd8f462ef985d1bb.tar.gz ghdl-1c96cc3b3708a3602ae9b99fcd8f462ef985d1bb.tar.bz2 ghdl-1c96cc3b3708a3602ae9b99fcd8f462ef985d1bb.zip |
Add convention C for entry point.
-rw-r--r-- | translate/ghdldrv/ghdlrun.adb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/translate/ghdldrv/ghdlrun.adb b/translate/ghdldrv/ghdlrun.adb index 5191813..edc33e2 100644 --- a/translate/ghdldrv/ghdlrun.adb +++ b/translate/ghdldrv/ghdlrun.adb @@ -144,6 +144,7 @@ package body Ghdlrun is pragma Export (C, Ghdl_Elaborate, "__ghdl_ELABORATE"); type Elaborate_Acc is access procedure; + pragma Convention (C, Elaborate_Acc); Elaborate_Proc : Elaborate_Acc := null; procedure Ghdl_Elaborate is |