diff options
author | Marlon James <marlon.james@gmail.com> | 2021-03-03 10:33:56 -0800 |
---|---|---|
committer | tgingold <tgingold@users.noreply.github.com> | 2021-03-04 07:49:28 +0100 |
commit | 783cbac7ba4c14aa7e27f28755dccd7e4ee4d54e (patch) | |
tree | 929ab92aac895ec39b5e7780e1fe8cea3edf3be1 /src/grt/grt-cvpi.c | |
parent | a03aedddf650f923b06ebacb441a713930cd63e1 (diff) | |
download | ghdl-783cbac7ba4c14aa7e27f28755dccd7e4ee4d54e.tar.gz ghdl-783cbac7ba4c14aa7e27f28755dccd7e4ee4d54e.tar.bz2 ghdl-783cbac7ba4c14aa7e27f28755dccd7e4ee4d54e.zip |
VHPI: add initial minimal implementation
Minimal implementation of VHPI provides library loading and
error support. Calling most vhpi_* functions will raise a
VHPI error condition.
Incorporates VHPI thunks into libghdlvpi for linking.
Diffstat (limited to 'src/grt/grt-cvpi.c')
-rw-r--r-- | src/grt/grt-cvpi.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/grt/grt-cvpi.c b/src/grt/grt-cvpi.c index 89a27607b..6f77ba900 100644 --- a/src/grt/grt-cvpi.c +++ b/src/grt/grt-cvpi.c @@ -32,15 +32,6 @@ #include "vpi_thunk.h" #include "grt-cdynload.h" -/* Extension of a shared library. */ -#if defined (WINNT) -#define DSO_EXT ".dll" -#elif defined (__APPLE__) -#define DSO_EXT ".dylib" -#else -#define DSO_EXT ".so" -#endif - extern PLI_INT32 vpi_control_np (int op, int status); static vpi_thunk __ghdl_vpi_thunk_v1 = |