21 lines
395 B
C
21 lines
395 B
C
#ifndef _REFERENCE_H
|
|
#define _REFERENCE_H
|
|
|
|
#include "_global.h"
|
|
#include "disasm_fast.h"
|
|
|
|
//structs
|
|
struct REFINFO
|
|
{
|
|
int refcount;
|
|
void* userinfo;
|
|
};
|
|
|
|
//typedefs
|
|
typedef bool (*CBREF)(DISASM* disasm, BASIC_INSTRUCTION_INFO* basicinfo, REFINFO* refinfo);
|
|
|
|
//functions
|
|
int reffind(uint page, uint size, CBREF cbRef, void* userinfo, bool silent);
|
|
|
|
#endif //_REFERENCE_H
|