summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgingold2010-02-26 05:47:31 +0000
committergingold2010-02-26 05:47:31 +0000
commit1c96cc3b3708a3602ae9b99fcd8f462ef985d1bb (patch)
treea51990dcc6e697c579b3847afebabaa848134695
parent926b893b005c0dbade106f04f9e2dddb781e8ec1 (diff)
downloadghdl-1c96cc3b3708a3602ae9b99fcd8f462ef985d1bb.tar.gz
ghdl-1c96cc3b3708a3602ae9b99fcd8f462ef985d1bb.tar.bz2
ghdl-1c96cc3b3708a3602ae9b99fcd8f462ef985d1bb.zip
Add convention C for entry point.
-rw-r--r--translate/ghdldrv/ghdlrun.adb1
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