MapInfo: add DataPtr so the mapped Data can be accessed without copying
authorMaster T <tom.deseyn@gmail.com>
Thu, 18 Sep 2014 09:45:39 +0000 (11:45 +0200)
committerStephan Sundermann <stephansundermann@gmail.com>
Thu, 18 Sep 2014 13:05:45 +0000 (15:05 +0200)
sources/custom/MapInfo.cs

index b9fa4a89300623acf75397d142cfbce283d8851b..49af97fd0fba16fc317e47e221bfeaf33600725f 100644 (file)
@@ -38,5 +38,10 @@ namespace Gst {
                        }
                }
 
+               public IntPtr DataPtr {
+                       get {
+                               return _data;
+                       }
+               }
        }
 }