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/dstrings.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/dstrings.swg')
-rw-r--r-- | Lib/d/dstrings.swg | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Lib/d/dstrings.swg b/Lib/d/dstrings.swg index a145c8d75..02895c153 100644 --- a/Lib/d/dstrings.swg +++ b/Lib/d/dstrings.swg @@ -5,9 +5,9 @@ * ----------------------------------------------------------------------------- */ %define SWIGD_STRING_TYPEMAPS(DW_STRING_TYPE, DP_STRING_TYPE, FROM_STRINGZ, TO_STRINGZ) -%typemap(cwtype) char *, char *&, char[ANY], char[] "char *" -%typemap(dwtype) char *, char *&, char[ANY], char[] #DW_STRING_TYPE -%typemap(dptype) char *, char *&, char[ANY], char[] #DP_STRING_TYPE +%typemap(ctype) char *, char *&, char[ANY], char[] "char *" +%typemap(imtype) char *, char *&, char[ANY], char[] #DW_STRING_TYPE +%typemap(dtype) char *, char *&, char[ANY], char[] #DP_STRING_TYPE /* @@ -19,7 +19,7 @@ %typemap(directorout, warning=SWIGWARN_TYPEMAP_DIRECTOROUT_PTR_MSG) char * %{ $result = ($1_ltype)$input; %} %typemap(directorin) char * %{ $input = SWIG_d_string_callback((const char *)$1); %} %typemap(ddirectorin) char * "FROM_STRINGZ($winput)" -%typemap(ddirectorout) char * "TO_STRINGZ($dpcall)" +%typemap(ddirectorout) char * "TO_STRINGZ($dcall)" /* @@ -44,12 +44,12 @@ %typemap(directorin) char[ANY], char[] %{ $input = SWIG_d_string_callback((const char *)$1); %} %typemap(ddirectorin) char[ANY], char[] "$winput" -%typemap(ddirectorout) char[ANY], char[] "$dpcall" +%typemap(ddirectorout) char[ANY], char[] "$dcall" %typemap(din) char *, char *&, char[ANY], char[] "($dinput ? TO_STRINGZ($dinput) : null)" %typemap(dout, excode=SWIGEXCODE) char *, char *&, char[ANY], char[] { - DP_STRING_TYPE ret = FROM_STRINGZ ## ($wcall);$excode + DP_STRING_TYPE ret = FROM_STRINGZ ## ($imcall);$excode return ret; } |