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

Function PopStringA

include/nsis/pluginapi.c:73–80  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

71
72#ifdef UNICODE
73int NSISCALL PopStringA(LPSTR ansiStr)
74{
75 LPWSTR wideStr = (LPWSTR) GlobalAlloc(GPTR, g_stringsize*sizeof(WCHAR));
76 int rval = popstring(wideStr);
77 WideCharToMultiByte(CP_ACP, 0, wideStr, -1, ansiStr, g_stringsize, NULL, NULL);
78 GlobalFree((HGLOBAL)wideStr);
79 return rval;
80}
81
82int NSISCALL PopStringNA(LPSTR ansiStr, int maxlen)
83{

Callers

nothing calls this directly

Calls 1

popstringFunction · 0.85

Tested by

no test coverage detected