Permalink
Browse files

Add c# typemap for setLayerDrawingOrder (#5336)

  • Loading branch information...
szekerest committed Oct 12, 2016
1 parent 51fef1b commit 4a988fe1a1edf31997a0b84fdedf5756f0775a21
Showing with 6 additions and 0 deletions.
  1. +6 −0 mapscript/csharp/csmodule.i
@@ -430,6 +430,12 @@ DllExport void SWIGSTDCALL SWIGRegisterByteArrayCallback_$module(SWIG_CSharpByte
%}
%typemap(csvarin, excode="") (double pattern[ANY]) %{$excode%}
/* Typemaps for int array */
%typemap(imtype, out="IntPtr") int *panIndexes "int[]"
%typemap(cstype) int *panIndexes %{int[]%}
%typemap(in) int *panIndexes %{ $1 = ($1_ltype)$input; %}
%typemap(csin) (int *panIndexes) "$csinput"
/* Typemaps for device handle */
%typemap(imtype) (void* device) %{IntPtr%}
%typemap(cstype) (void* device) %{IntPtr%}

0 comments on commit 4a988fe

Please sign in to comment.