MCPcopy Create free account
hub / github.com/LegacyUpdate/LegacyUpdate / popstring

Function popstring

include/nsis/pluginapi.c:28–37  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26// utility functions (not required but often useful)
27
28int NSISCALL popstring(LPTSTR str)
29{
30 stack_t *th;
31 if (!g_stacktop || !*g_stacktop) return 1;
32 th=(*g_stacktop);
33 if (str) lstrcpy(str,th->text);
34 *g_stacktop = th->next;
35 GlobalFree((HGLOBAL)th);
36 return 0;
37}
38
39int NSISCALL popstringn(LPTSTR str, int maxlen)
40{

Callers 4

PopStringAFunction · 0.85
PopStringWFunction · 0.85
ExecScriptFunction · 0.85
WriteLog.cFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected