summaryrefslogtreecommitdiff
path: root/Lib/csharp/csharp.swg
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/csharp/csharp.swg')
-rw-r--r--Lib/csharp/csharp.swg9
1 files changed, 9 insertions, 0 deletions
diff --git a/Lib/csharp/csharp.swg b/Lib/csharp/csharp.swg
index 832206386..ecc1983a7 100644
--- a/Lib/csharp/csharp.swg
+++ b/Lib/csharp/csharp.swg
@@ -875,6 +875,15 @@ SWIGINTERN const char * SWIG_UnpackData(const char *c, void *ptr, size_t sz) {
global::System.IntPtr ret = $imcall;$excode
return ret;
}
+%typemap(csvarin, excode=SWIGEXCODE2) void *VOID_INT_PTR %{
+ set {
+ $imcall;$excode
+ } %}
+%typemap(csvarout, excode=SWIGEXCODE2) void *VOID_INT_PTR %{
+ get {
+ global::System.IntPtr ret = $imcall;$excode
+ return ret;
+ } %}
%typemap(csdirectorin) void *VOID_INT_PTR "$iminput"
%typemap(csdirectorout) void *VOID_INT_PTR "$cscall"