diff options
Diffstat (limited to 'src/synth/ghdlsynth.h')
-rw-r--r-- | src/synth/ghdlsynth.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/synth/ghdlsynth.h b/src/synth/ghdlsynth.h index 35d123f32..d8b5ec784 100644 --- a/src/synth/ghdlsynth.h +++ b/src/synth/ghdlsynth.h @@ -118,10 +118,10 @@ namespace GhdlSynth { GHDLSYNTH_ADA_WRAPPER_WWD(get_input_net, Net, Instance, Port_Idx); - extern "C" unsigned int libghdlsynth__synth(int argc, const char **argv); + extern "C" unsigned int ghdlsynth__ghdl_synth(int argc, const char **argv); inline Module ghdl_synth(int argc, const char **argv) { Module res; - res.id = libghdlsynth__synth(argc, argv); + res.id = ghdlsynth__ghdl_synth(argc, argv); return res; } @@ -129,6 +129,5 @@ namespace GhdlSynth { extern "C" void ghdlcomp__disp_config (void); // Initialize and finalize the whole library. - extern "C" void libghdlsynth_init (void); - extern "C" void libghdlsynth_final (void); + extern "C" void libghdl_init (void); }; |