Fixed silly link errors in MSVC

This commit is contained in:
Steve Dudenhoeffer 2007-05-04 13:05:09 +00:00
parent 66d7d39bee
commit 1073a42409
3 changed files with 50 additions and 50 deletions

View File

@ -2,53 +2,53 @@
#define HOOK_Call_H #define HOOK_Call_H
int Call_Void_Void(AMX *amx, cell *params); cell Call_Void_Void(AMX *amx, cell *params);
int Call_Int_Void(AMX *amx, cell *params); cell Call_Int_Void(AMX *amx, cell *params);
int Call_Void_Entvar(AMX *amx, cell *params); cell Call_Void_Entvar(AMX *amx, cell *params);
int Call_Void_Cbase(AMX *amx, cell *params); cell Call_Void_Cbase(AMX *amx, cell *params);
int Call_Int_Float_Int(AMX *amx, cell *params); cell Call_Int_Float_Int(AMX *amx, cell *params);
int Call_Void_Entvar_Int(AMX *amx, cell *params); cell Call_Void_Entvar_Int(AMX *amx, cell *params);
int Call_Int_Cbase(AMX *amx, cell *params); cell Call_Int_Cbase(AMX *amx, cell *params);
int Call_Void_Int_Int(AMX *amx, cell *params); cell Call_Void_Int_Int(AMX *amx, cell *params);
int Call_Int_Int_Str_Int(AMX *amx, cell *params); cell Call_Int_Int_Str_Int(AMX *amx, cell *params);
int Call_Int_Int(AMX *amx, cell *params); cell Call_Int_Int(AMX *amx, cell *params);
int Call_Int_Entvar(AMX *amx, cell *params); cell Call_Int_Entvar(AMX *amx, cell *params);
int Call_Int_Entvar_Entvar_Float_Int(AMX *amx, cell *params); cell Call_Int_Entvar_Entvar_Float_Int(AMX *amx, cell *params);
int Call_Void_Int(AMX *amx, cell *params); cell Call_Void_Int(AMX *amx, cell *params);
int Call_Void_Cbase_Cbase_Int_Float(AMX *amx, cell *params); cell Call_Void_Cbase_Cbase_Int_Float(AMX *amx, cell *params);
int Call_Void_Entvar_Float_Vector_Trace_Int(AMX *amx, cell *params); cell Call_Void_Entvar_Float_Vector_Trace_Int(AMX *amx, cell *params);
int Call_Void_Float_Vector_TraceResult_Int(AMX *amx, cell *params); cell Call_Void_Float_Vector_TraceResult_Int(AMX *amx, cell *params);
int Call_Str_Void(AMX *amx, cell *params); cell Call_Str_Void(AMX *amx, cell *params);
int Call_Cbase_Void(AMX *amx, cell *params); cell Call_Cbase_Void(AMX *amx, cell *params);
int Call_Vector_Void(AMX *amx, cell *params); cell Call_Vector_Void(AMX *amx, cell *params);
int Call_Vector_pVector(AMX *amx, cell *params); cell Call_Vector_pVector(AMX *amx, cell *params);
int Call_Int_pVector(AMX *amx, cell *params); cell Call_Int_pVector(AMX *amx, cell *params);
int Call_Void_Entvar_Float_Float(AMX *amx, cell *params); cell Call_Void_Entvar_Float_Float(AMX *amx, cell *params);
int Call_Int_pFloat_pFloat(AMX *amx, cell *params); cell Call_Int_pFloat_pFloat(AMX *amx, cell *params);
int Call_Void_Entvar_Float(AMX *amx, cell *params); cell Call_Void_Entvar_Float(AMX *amx, cell *params);
#endif #endif

View File

@ -2,53 +2,53 @@
#define HOOK_ECALL_H #define HOOK_ECALL_H
int eCall_Void_Void(AMX *amx, cell *params); cell eCall_Void_Void(AMX *amx, cell *params);
int eCall_Int_Void(AMX *amx, cell *params); cell eCall_Int_Void(AMX *amx, cell *params);
int eCall_Void_Entvar(AMX *amx, cell *params); cell eCall_Void_Entvar(AMX *amx, cell *params);
int eCall_Void_Cbase(AMX *amx, cell *params); cell eCall_Void_Cbase(AMX *amx, cell *params);
int eCall_Int_Float_Int(AMX *amx, cell *params); cell eCall_Int_Float_Int(AMX *amx, cell *params);
int eCall_Void_Entvar_Int(AMX *amx, cell *params); cell eCall_Void_Entvar_Int(AMX *amx, cell *params);
int eCall_Int_Cbase(AMX *amx, cell *params); cell eCall_Int_Cbase(AMX *amx, cell *params);
int eCall_Void_Int_Int(AMX *amx, cell *params); cell eCall_Void_Int_Int(AMX *amx, cell *params);
int eCall_Int_Int_Str_Int(AMX *amx, cell *params); cell eCall_Int_Int_Str_Int(AMX *amx, cell *params);
int eCall_Int_Int(AMX *amx, cell *params); cell eCall_Int_Int(AMX *amx, cell *params);
int eCall_Int_Entvar(AMX *amx, cell *params); cell eCall_Int_Entvar(AMX *amx, cell *params);
int eCall_Int_Entvar_Entvar_Float_Int(AMX *amx, cell *params); cell eCall_Int_Entvar_Entvar_Float_Int(AMX *amx, cell *params);
int eCall_Void_Int(AMX *amx, cell *params); cell eCall_Void_Int(AMX *amx, cell *params);
int eCall_Void_Cbase_Cbase_Int_Float(AMX *amx, cell *params); cell eCall_Void_Cbase_Cbase_Int_Float(AMX *amx, cell *params);
int eCall_Void_Entvar_Float_Vector_Trace_Int(AMX *amx, cell *params); cell eCall_Void_Entvar_Float_Vector_Trace_Int(AMX *amx, cell *params);
int eCall_Void_Float_Vector_TraceResult_Int(AMX *amx, cell *params); cell eCall_Void_Float_Vector_TraceResult_Int(AMX *amx, cell *params);
int eCall_Str_Void(AMX *amx, cell *params); cell eCall_Str_Void(AMX *amx, cell *params);
int eCall_Cbase_Void(AMX *amx, cell *params); cell eCall_Cbase_Void(AMX *amx, cell *params);
int eCall_Vector_Void(AMX *amx, cell *params); cell eCall_Vector_Void(AMX *amx, cell *params);
int eCall_Vector_pVector(AMX *amx, cell *params); cell eCall_Vector_pVector(AMX *amx, cell *params);
int eCall_Int_pVector(AMX *amx, cell *params); cell eCall_Int_pVector(AMX *amx, cell *params);
int eCall_Void_Entvar_Float_Float(AMX *amx, cell *params); cell eCall_Void_Entvar_Float_Float(AMX *amx, cell *params);
int eCall_Int_pFloat_pFloat(AMX *amx, cell *params); cell eCall_Int_pFloat_pFloat(AMX *amx, cell *params);
int eCall_Void_Entvar_Float(AMX *amx, cell *params); cell eCall_Void_Entvar_Float(AMX *amx, cell *params);
#endif #endif

View File

@ -10,8 +10,8 @@ typedef struct hook_s
int paramcount; // how many parameters are in the func int paramcount; // how many parameters are in the func
void *targetfunc; // the target hook void *targetfunc; // the target hook
int (*makefunc)(AMX *, const char*); // function that creates forwards int (*makefunc)(AMX *, const char*); // function that creates forwards
int (*call)(AMX *, cell*); // function to call the vcall cell (*call)(AMX *, cell*); // function to call the vcall
int (*ecall)(AMX *, cell*); // function to ecall the vcall cell (*ecall)(AMX *, cell*); // function to ecall the vcall
} hook_t; } hook_t;
extern hook_t hooklist[]; extern hook_t hooklist[];