windows-nt/Source/XPSP1/NT/sdktools/rcdll/strings.h
2020-09-26 16:20:57 +08:00

21 lines
676 B
C
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#define RCON_REAL(p) ((p)->rcon_real)
/*
** given a VALUE ptr, return the various fields.
*/
#define PV_RCON(P) ((P)->v_rcon)
#define PV_DOUBLE(P) (PV_RCON(P)->rcon_real)
#define PV_LONG(P) ((P)->v_long)
#define PV_STRPTR(P) ((P)->v_string.str_ptr)
#define PV_STRLEN(P) ((P)->v_string.str_len)
#define PV_SYM(P) ((P)->v_symbol)
/*
** given a reference to a VALUE, return the given field
*/
#define V_RCON(V) ((V).v_rcon)
#define V_DOUBLE(V) (V_RCON(V)->rcon_real)
#define V_LONG(V) ((V).v_long)
#define V_STRPTR(V) ((V).v_string.str_ptr)
#define V_STRLEN(V) ((V).v_string.str_len)
#define V_SYM(V) ((V).v_symbol)