mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-23 04:42:32 +00:00
[qfcc] Hide "function" type behind an @
I'm not sure it's all that useful and thus it clutters the namespace.
This commit is contained in:
parent
6f7ddf52ac
commit
1f8cc7186c
2 changed files with 3 additions and 3 deletions
|
@ -9,7 +9,7 @@
|
|||
typedef void () void_function;
|
||||
|
||||
int PR_SetField (entity ent, string field, string value) = #0;
|
||||
function PR_FindFunction (string func) = #0;
|
||||
@function PR_FindFunction (string func) = #0;
|
||||
|
||||
@static void ParseEntities (string ent_data);
|
||||
|
||||
|
@ -66,7 +66,7 @@ function PR_FindFunction (string func) = #0;
|
|||
local int count;
|
||||
local string field, value;
|
||||
local plitem_t keys;
|
||||
local function func;
|
||||
local @function func;
|
||||
local Entity *e;
|
||||
|
||||
classname = PL_String (PL_ObjectForKey (dict, "classname"));
|
||||
|
|
|
@ -378,8 +378,8 @@ static keyword_t qf_keywords[] = {
|
|||
{"double", TYPE, &type_double},
|
||||
{"int", TYPE, &type_integer },
|
||||
{"unsigned", TYPE, &type_integer },//FIXME
|
||||
{"function", TYPE, &type_function },
|
||||
|
||||
{"@function", TYPE, &type_function },
|
||||
{"@args", ARGS, 0 },
|
||||
{"@va_list", TYPE, &type_va_list },
|
||||
{"@param", TYPE, &type_param },
|
||||
|
|
Loading…
Reference in a new issue