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

Function PopStringA

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

Source from the content-addressed store, hash-verified

60
61#ifdef _UNICODE
62int NSISCALL PopStringA(char* ansiStr)
63{
64 wchar_t* wideStr = (wchar_t*) GlobalAlloc(GPTR, g_stringsize*sizeof(wchar_t));
65 int rval = popstring(wideStr);
66 WideCharToMultiByte(CP_ACP, 0, wideStr, -1, ansiStr, g_stringsize, NULL, NULL);
67 GlobalFree((HGLOBAL)wideStr);
68 return rval;
69}
70
71int NSISCALL PopStringNA(char* ansiStr, int maxlen)
72{

Callers

nothing calls this directly

Calls 1

popstringFunction · 0.85

Tested by

no test coverage detected