MCPcopy Create free account
hub / github.com/JACoders/OpenJK / String_Parse

Function String_Parse

code/ui/ui_shared.cpp:5262–5273  ·  view source on GitHub ↗

================= String_Parse ================= */

Source from the content-addressed store, hash-verified

5260=================
5261*/
5262qboolean String_Parse(const char **p, const char **out)
5263{
5264 char *token;
5265
5266 token = COM_ParseExt(p, qfalse);
5267 if (token && token[0] != 0)
5268 {
5269 *out = String_Alloc(token);
5270 return (qboolean)(*out != NULL);
5271 }
5272 return qfalse;
5273}
5274
5275/*
5276===============

Callers 15

UI_DeferMenuScriptFunction · 0.70
UI_RunMenuScriptFunction · 0.70
Script_SetItemRectFunction · 0.70
Script_SetItemBackgroundFunction · 0.70
Script_SetItemTextFunction · 0.70
Script_FadeInFunction · 0.70
Script_FadeOutFunction · 0.70
Script_ShowFunction · 0.70
Script_ShowMenuFunction · 0.70
Script_HideFunction · 0.70
Script_SetColorFunction · 0.70
Script_OpenFunction · 0.70

Calls 2

String_AllocFunction · 0.70
COM_ParseExtFunction · 0.50

Tested by

no test coverage detected