mirror of
https://github.com/geode-sdk/geode.git
synced 2024-11-23 16:07:52 -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
|