[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
This commit is contained in:
parent
a22df2eca9
commit
3477a9dff1
19 changed files with 423 additions and 424 deletions
|
|
@ -39,7 +39,7 @@ public:
|
|||
|
||||
#if defined(SWIGD)
|
||||
%typemap(dout, excode=SWIGEXCODE) Foo * {
|
||||
Bar ret = new Bar($wcall, $owner);$excode
|
||||
Bar ret = new Bar($imcall, $owner);$excode
|
||||
return ret;
|
||||
}
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -169,13 +169,13 @@ namespace Space {
|
|||
#if (SWIG_D_VERSION == 1)
|
||||
%typemap(dcode) Space::RenameMe %{
|
||||
public static NewName factory(char[] s) {
|
||||
return new $typemap(dptype, Space::RenameMe)( new $typemap(dptype, Name)(s) );
|
||||
return new $typemap(dtype, Space::RenameMe)( new $typemap(dtype, Name)(s) );
|
||||
}
|
||||
%}
|
||||
#else
|
||||
%typemap(dcode) Space::RenameMe %{
|
||||
public static NewName factory(string s) {
|
||||
return new $typemap(dptype, Space::RenameMe)( new $typemap(dptype, Name)(s) );
|
||||
return new $typemap(dtype, Space::RenameMe)( new $typemap(dtype, Name)(s) );
|
||||
}
|
||||
%}
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -30,9 +30,9 @@ namespace Foo {
|
|||
%typemap(gotype) Str1 * = char *;
|
||||
#endif
|
||||
#ifdef SWIGD
|
||||
%typemap(cwtype) Str1 * = char *;
|
||||
%typemap(dwtype) Str1 * = char *;
|
||||
%typemap(dptype) Str1 * = char *;
|
||||
%typemap(ctype) Str1 * = char *;
|
||||
%typemap(imtype) Str1 * = char *;
|
||||
%typemap(dtype) Str1 * = char *;
|
||||
%typemap(din) Str1 * = char *;
|
||||
%typemap(dout) Str1 * = char *;
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue