mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-04 14:48:47 +00:00
Add class_getInstanceMethod, method_setImplementation bindings
This commit is contained in:
Vendored
+3
@@ -13,6 +13,9 @@ foreign Foundation {
|
|||||||
objc_allocateClassPair :: proc "c" (superclass: Class, name: cstring, extraBytes: uint) ---
|
objc_allocateClassPair :: proc "c" (superclass: Class, name: cstring, extraBytes: uint) ---
|
||||||
|
|
||||||
class_addMethod :: proc "c" (cls: Class, name: SEL, imp: IMP, types: cstring) -> BOOL ---
|
class_addMethod :: proc "c" (cls: Class, name: SEL, imp: IMP, types: cstring) -> BOOL ---
|
||||||
|
class_getInstanceMethod :: proc "c" (cls: Class, name: SEL) -> Method ---
|
||||||
|
|
||||||
|
method_setImplementation :: proc "c" (method: Method, imp: IMP) ---
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user