MCPcopy Create free account
hub / github.com/AutoHotkey/AutoHotkey / _StringDummyConv

Function _StringDummyConv

source/StringConv.cpp:87–96  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

85
86template <typename SRC_T, typename DEST_T>
87SRC_T _StringDummyConv(SRC_T sSrc, DEST_T &sDest, int iChars = -1)
88{
89 if (!sSrc)
90 return NULL;
91 if (iChars >= 0)
92 sDest.SetString(sSrc, iChars);
93 else
94 sDest = sSrc;
95 return sDest;
96}
97
98LPCWSTR _StringDummyConvW(LPCWSTR sSrc, CStringW &sDest, int iChars/* = -1*/)
99{

Callers 2

_StringDummyConvWFunction · 0.85
_StringDummyConvAFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected