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

Function popstring

cmake/Windows/Contrib/Inetc/pluginapi.c:17–26  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15// utility functions (not required but often useful)
16
17int NSISCALL popstring(TCHAR *str)
18{
19 stack_t *th;
20 if (!g_stacktop || !*g_stacktop) return 1;
21 th=(*g_stacktop);
22 if (str) lstrcpy(str,th->text);
23 *g_stacktop = th->next;
24 GlobalFree((HGLOBAL)th);
25 return 0;
26}
27
28int NSISCALL popstringn(TCHAR *str, int maxlen)
29{

Callers 4

inetTransferFunction · 0.85
getFunction · 0.85
PopStringAFunction · 0.85
PopStringWFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected