diff options
author | David Nadlinger <code@klickverbot.at> | 2010-11-28 23:12:03 +0000 |
---|---|---|
committer | David Nadlinger <code@klickverbot.at> | 2010-11-28 23:12:03 +0000 |
commit | 3477a9dff13227605d51433df50935b87f5f73af (patch) | |
tree | cf24417e26cf837bd9ffe1d7fe0f39ed944b0945 /Lib/d/dhead.swg | |
parent | a22df2eca9d1726fa7af02cebc459eb373ed7fc7 (diff) | |
download | swig-3477a9dff13227605d51433df50935b87f5f73af.tar.gz |
[D] Replaced the term "wrap D module" with "intermediary D module" (including names derived from it).
This was suggested by wsfulton on the mailing list in order to bring the D module in line with the C# one, the naming scheme of which is intended to be language-independent.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12319 626c5289-ae23-0410-ae9c-e8d60b6d4f22
Diffstat (limited to 'Lib/d/dhead.swg')
-rw-r--r-- | Lib/d/dhead.swg | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/Lib/d/dhead.swg b/Lib/d/dhead.swg index cb2b41079..4326b7f8c 100644 --- a/Lib/d/dhead.swg +++ b/Lib/d/dhead.swg @@ -64,7 +64,7 @@ SWIGEXPORT void SWIGRegisterExceptionCallbacks_$module( %} #if (SWIG_D_VERSION == 1) -%pragma(d) wrapdmoduleimports=%{ +%pragma(d) imdmoduleimports=%{ // Exception throwing support currently requires Tango, but there is no reason // why it could not support Phobos. static import tango.core.Exception; @@ -72,7 +72,7 @@ static import tango.core.Thread; static import tango.stdc.stringz; %} -%pragma(d) wrapdmodulecode=%{ +%pragma(d) imdmodulecode=%{ private class SwigExceptionHelper { static this() { swigRegisterExceptionCallbacks( @@ -169,11 +169,11 @@ private: alias void function(char* message) SwigExceptionCallback; %} #else -%pragma(d) wrapdmoduleimports=%{ +%pragma(d) imdmoduleimports=%{ static import std.conv; %} -%pragma(d) wrapdmodulecode=%{ +%pragma(d) imdmodulecode=%{ private class SwigExceptionHelper { static this() { // The D1/Tango version maps C++ exceptions to multiple exception types. @@ -265,9 +265,9 @@ SWIGEXPORT void SWIGRegisterStringCallback_$module(SWIG_DStringHelperCallback ca %} #if (SWIG_D_VERSION == 1) -%pragma(d) wrapdmoduleimports = "static import tango.stdc.stringz;"; +%pragma(d) imdmoduleimports = "static import tango.stdc.stringz;"; -%pragma(d) wrapdmodulecode = %{ +%pragma(d) imdmodulecode = %{ private class SwigStringHelper { static this() { swigRegisterStringCallback(&createString); @@ -281,12 +281,12 @@ private class SwigStringHelper { alias char* function(char* cString) SwigStringCallback; %} #else -%pragma(d) wrapdmoduleimports = %{ +%pragma(d) imdmoduleimports = %{ static import std.conv; static import std.string; %} -%pragma(d) wrapdmodulecode = %{ +%pragma(d) imdmodulecode = %{ private class SwigStringHelper { static this() { swigRegisterStringCallback(&createString); |