mirror of
https://github.com/geode-sdk/geode.git
synced 2024-12-20 21:02:26 -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
|