Merge branch 'imfunc'
* imfunc: Add special variable imfuncname expansion for C# and D Test and document imfuncname special variable expansion Update docs. Also expose in proxyClassFunctionHandler Expose to javaout typemaps. Conflicts: CHANGES.current
This commit is contained in:
commit
34c219b5f7
11 changed files with 117 additions and 0 deletions
|
|
@ -2595,6 +2595,7 @@ public:
|
|||
} else {
|
||||
Replaceall(imcall, "$imfuncname", intermediary_function_name);
|
||||
}
|
||||
Replaceall(tm, "$imfuncname", intermediary_function_name);
|
||||
Replaceall(tm, "$imcall", imcall);
|
||||
} else {
|
||||
Swig_warning(WARN_CSHARP_TYPEMAP_CSOUT_UNDEF, input_file, line_number, "No csout typemap defined for %s\n", SwigType_str(t, 0));
|
||||
|
|
@ -2638,6 +2639,7 @@ public:
|
|||
if ((tm = Swig_typemap_lookup("csvarin", variable_parm, "", 0))) {
|
||||
substituteClassname(cvariable_type, tm);
|
||||
Replaceall(tm, "$csinput", "value");
|
||||
Replaceall(tm, "$imfuncname", intermediary_function_name);
|
||||
Replaceall(tm, "$imcall", imcall);
|
||||
excodeSubstitute(n, tm, "csvarin", variable_parm);
|
||||
Printf(proxy_class_code, "%s", tm);
|
||||
|
|
@ -2652,6 +2654,7 @@ public:
|
|||
else
|
||||
Replaceall(tm, "$owner", "false");
|
||||
substituteClassname(t, tm);
|
||||
Replaceall(tm, "$imfuncname", intermediary_function_name);
|
||||
Replaceall(tm, "$imcall", imcall);
|
||||
excodeSubstitute(n, tm, "csvarout", n);
|
||||
Printf(proxy_class_code, "%s", tm);
|
||||
|
|
@ -3164,6 +3167,7 @@ public:
|
|||
else
|
||||
Replaceall(tm, "$owner", "false");
|
||||
substituteClassname(t, tm);
|
||||
Replaceall(tm, "$imfuncname", overloaded_name);
|
||||
Replaceall(tm, "$imcall", imcall);
|
||||
} else {
|
||||
Swig_warning(WARN_CSHARP_TYPEMAP_CSOUT_UNDEF, input_file, line_number, "No csout typemap defined for %s\n", SwigType_str(t, 0));
|
||||
|
|
@ -3202,6 +3206,7 @@ public:
|
|||
if ((tm = Getattr(p, "tmap:csvarin"))) {
|
||||
substituteClassname(pt, tm);
|
||||
Replaceall(tm, "$csinput", "value");
|
||||
Replaceall(tm, "$imfuncname", overloaded_name);
|
||||
Replaceall(tm, "$imcall", imcall);
|
||||
excodeSubstitute(n, tm, "csvarin", p);
|
||||
Printf(module_class_code, "%s", tm);
|
||||
|
|
@ -3216,6 +3221,7 @@ public:
|
|||
else
|
||||
Replaceall(tm, "$owner", "false");
|
||||
substituteClassname(t, tm);
|
||||
Replaceall(tm, "$imfuncname", overloaded_name);
|
||||
Replaceall(tm, "$imcall", imcall);
|
||||
excodeSubstitute(n, tm, "csvarout", n);
|
||||
Printf(module_class_code, "%s", tm);
|
||||
|
|
|
|||
|
|
@ -2898,6 +2898,7 @@ private:
|
|||
} else {
|
||||
Replaceall(imcall, "$imfuncname", intermediary_function_name);
|
||||
}
|
||||
Replaceall(tm, "$imfuncname", intermediary_function_name);
|
||||
Replaceall(tm, "$imcall", imcall);
|
||||
} else {
|
||||
Swig_warning(WARN_D_TYPEMAP_DOUT_UNDEF, input_file, line_number,
|
||||
|
|
@ -3100,6 +3101,7 @@ private:
|
|||
else
|
||||
Replaceall(tm, "$owner", "false");
|
||||
replaceClassname(tm, t);
|
||||
Replaceall(tm, "$imfuncname", overloaded_name);
|
||||
Replaceall(tm, "$imcall", imcall);
|
||||
} else {
|
||||
Swig_warning(WARN_D_TYPEMAP_DOUT_UNDEF, input_file, line_number,
|
||||
|
|
|
|||
|
|
@ -2691,6 +2691,7 @@ public:
|
|||
Replaceall(imcall, "$imfuncname", intermediary_function_name);
|
||||
}
|
||||
|
||||
Replaceall(tm, "$imfuncname", intermediary_function_name);
|
||||
Replaceall(tm, "$jnicall", imcall);
|
||||
} else {
|
||||
Swig_warning(WARN_JAVA_TYPEMAP_JAVAOUT_UNDEF, input_file, line_number, "No javaout typemap defined for %s\n", SwigType_str(t, 0));
|
||||
|
|
@ -3176,6 +3177,7 @@ public:
|
|||
else
|
||||
Replaceall(tm, "$owner", "false");
|
||||
substituteClassname(t, tm);
|
||||
Replaceall(tm, "$imfuncname", overloaded_name);
|
||||
Replaceall(tm, "$jnicall", imcall);
|
||||
} else {
|
||||
Swig_warning(WARN_JAVA_TYPEMAP_JAVAOUT_UNDEF, input_file, line_number, "No javaout typemap defined for %s\n", SwigType_str(t, 0));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue