mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-29 23:52:22 +00:00
[ruamoko] Correct decls for functions using PF_VarString
Need to ensure va_list gets into the arguments so PF_VarString can work with Ruamoko progs.
This commit is contained in:
parent
2fc35b39b0
commit
f94d5e9fdb
4 changed files with 8 additions and 8 deletions
|
@ -62,18 +62,18 @@
|
|||
/**
|
||||
Print a string to the console if the "developer" Cvar is nonzero.
|
||||
*/
|
||||
@extern void dprint (string str);
|
||||
@extern void dprint (.../*string str*/);
|
||||
|
||||
/**
|
||||
Abort (crash) the server. "str" is the message the server crashes with.
|
||||
*/
|
||||
@extern void error (string str);
|
||||
@extern void error (.../*string str*/);
|
||||
|
||||
/**
|
||||
Prints info on the "self" ENTITY (not object), and error message "e".
|
||||
The entity is freed.
|
||||
*/
|
||||
@extern void objerror (string e);
|
||||
@extern void objerror (.../*string e*/);
|
||||
|
||||
//\}
|
||||
#endif //__ruamoko_debug_h
|
||||
|
|
|
@ -35,7 +35,7 @@
|
|||
#define MULTICAST_PVS_R 5
|
||||
|
||||
@extern void bprint (...);
|
||||
@extern void sprint (entity client, string s);
|
||||
@extern void sprint (.../*entity client, string s*/);
|
||||
@extern void WriteBytes (float to, ...);
|
||||
@extern void WriteByte (float to, float f);
|
||||
@extern void WriteChar (float to, float f);
|
||||
|
|
|
@ -5,6 +5,6 @@ void coredump (void) = #28;
|
|||
void traceon (void) = #29;
|
||||
void traceoff (void) = #30;
|
||||
void eprint (entity e) = #31;
|
||||
void dprint (string str) = #25;
|
||||
void error (string str) = #10;
|
||||
void objerror (string e) = #11;
|
||||
void dprint (.../*string str*/) = #25;
|
||||
void error (.../*string str*/) = #10;
|
||||
void objerror (.../*string e*/) = #11;
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#include <message.h>
|
||||
|
||||
void (...) bprint = #23;
|
||||
void (entity client, string s) sprint = #24;
|
||||
void (.../*entity client, string s*/) sprint = #24;
|
||||
void (float to, float f) WriteByte = #52;
|
||||
void (float to, float f) WriteChar = #53;
|
||||
void (float to, float f) WriteShort = #54;
|
||||
|
|
Loading…
Reference in a new issue