Exemplo n.º 1
0
        public static T AllocInit <T>() where T : struct
        {
            string typeName = typeof(T).Name;
            var    cls      = new ObjCClass(typeName);

            return(cls.AllocInit <T>());
        }
Exemplo n.º 2
0
 public static extern ObjectiveCMethod *class_copyMethodList(ObjCClass cls, out uint outCount);
Exemplo n.º 3
0
 public static extern IntPtr class_getProperty(ObjCClass cls, byte *namePtr);
Exemplo n.º 4
0
 public static extern byte *class_getName(ObjCClass cls);
        public static MTLCompileOptions New()
        {
            var cls = new ObjCClass("MTLCompileOptions");

            return(cls.AllocInit <MTLCompileOptions>());
        }
Exemplo n.º 6
0
        public static T AllocInit <T>(string typeName) where T : struct
        {
            var cls = new ObjCClass(typeName);

            return(cls.AllocInit <T>());
        }