public static extern IntPtr core_Mat_ones1(int rows, int cols, int type); [DllImport(DllExtern, CallingConvention = CallingConvention.Cdecl)]