mirror of
https://github.com/geode-sdk/geode.git
synced 2024-12-18 03:42:25 -05:00
20 lines
429 B
C
20 lines
429 B
C
|
#pragma once
|
||
|
|
||
|
#include <stdio.h>
|
||
|
#include <objc/runtime.h>
|
||
|
#include <Foundation/Foundation.h>
|
||
|
|
||
|
#ifdef __cplusplus
|
||
|
extern "C" {
|
||
|
#endif
|
||
|
|
||
|
IMP DobbyObjcReplace(Class _class, SEL _selector, IMP replacement);
|
||
|
|
||
|
void DobbyObjcReplaceEx(const char *class_name, const char *selector_name, void *fake_impl, void **orig_impl);
|
||
|
|
||
|
void *DobbyObjcResolveMethodImp(const char *class_name, const char *selector_name);
|
||
|
|
||
|
#ifdef __cplusplus
|
||
|
}
|
||
|
#endif
|