diff options
author | Erez Geva <ErezGeva2@gmail.com> | 2023-05-03 12:09:15 +0200 |
---|---|---|
committer | Olly Betts <olly@survex.com> | 2023-05-04 13:18:10 +1200 |
commit | 63b1293e1a760e0ce1a27208a5231e705c8f0f3b (patch) | |
tree | 49ae567d51c5b72ace63a15b54612308274ee56a /Lib/d/dprimitives.swg | |
parent | dada37e1d1a860100c23f7971b0aac58154441fa (diff) | |
download | swig-63b1293e1a760e0ce1a27208a5231e705c8f0f3b.tar.gz |
Drop D version 1
See #2538
Diffstat (limited to 'Lib/d/dprimitives.swg')
-rw-r--r-- | Lib/d/dprimitives.swg | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/Lib/d/dprimitives.swg b/Lib/d/dprimitives.swg index eaee816d3..a30231b90 100644 --- a/Lib/d/dprimitives.swg +++ b/Lib/d/dprimitives.swg @@ -5,17 +5,10 @@ * ----------------------------------------------------------------------------- */ // C long/ulong width depends on the target arch, use stdlib aliases for them. -#if (SWIG_D_VERSION == 1) -%pragma(d) imdmoduleimports = "static import tango.stdc.config;" -%pragma(d) globalproxyimports = "static import tango.stdc.config;" -#define SWIG_LONG_DTYPE tango.stdc.config.c_long -#define SWIG_ULONG_DTYPE tango.stdc.config.c_ulong -#else %pragma(d) imdmoduleimports = "static import core.stdc.config;" %pragma(d) globalproxyimports = "static import core.stdc.config;" #define SWIG_LONG_DTYPE core.stdc.config.c_long #define SWIG_ULONG_DTYPE core.stdc.config.c_ulong -#endif /* * The SWIG_D_PRIMITIVE macro is used to define the typemaps for the primitive |