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

Function popstringn

include/nsis/pluginapi.c:39–48  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

37}
38
39int NSISCALL popstringn(LPTSTR str, int maxlen)
40{
41 stack_t *th;
42 if (!g_stacktop || !*g_stacktop) return 1;
43 th=(*g_stacktop);
44 if (str) lstrcpyn(str,th->text,maxlen?maxlen:(int)g_stringsize);
45 *g_stacktop = th->next;
46 GlobalFree((HGLOBAL)th);
47 return 0;
48}
49
50void NSISCALL pushstring(LPCTSTR str)
51{

Callers 7

PopStringNAFunction · 0.85
PopStringNWFunction · 0.85
popintptrFunction · 0.85
popint_orFunction · 0.85
VerifyFileHash.cFile · 0.85
RebootPage.cFile · 0.85
UpdateRoots.cFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected