diff --git a/Lib/csharp/csharp.swg b/Lib/csharp/csharp.swg index 2a1805338..2a31933a8 100644 --- a/Lib/csharp/csharp.swg +++ b/Lib/csharp/csharp.swg @@ -126,7 +126,7 @@ %typemap(in) char * %{ $1 = $input; %} %typemap(out) char * %{ $result = SWIG_csharp_string_callback($1); %} -%typemap(out) void "" +%typemap(out, null="") void "" /* primitive types by const reference */ %typemap(in) const bool & (bool temp)