public static extern IntPtr vector_vector_DMatch_getSize1(IntPtr vector); [DllImport(DllExtern, CallingConvention = CallingConvention.Cdecl)]
/// <summary> /// vector.size() /// </summary> public int GetSize1() { var res = NativeMethods.vector_vector_DMatch_getSize1(ptr).ToInt32(); GC.KeepAlive(this); return(res); }