MCPcopy Create free account
hub / github.com/PlatformLab/NanoLog / isStringType

Function isStringType

preprocessor/FunctionGenerator.py:877–880  ·  view source on GitHub ↗
(typeStr)

Source from the content-addressed store, hash-verified

875#
876# \param typeStr - Whether a FmtType is a string or not in C/C++ land
877def isStringType(typeStr):
878 return typeStr and (
879 -1 != typeStr.find("char*") or
880 -1 != typeStr.find("wchar_t*"))
881
882# Given a C++ type (such as 'int') as identified by parseTypesInFmtString,
883# determine whether that type is a wide string or not.

Callers 3

test_isStringTypeMethod · 0.85
generateLogFunctionsMethod · 0.85

Calls

no outgoing calls

Tested by 2

test_isStringTypeMethod · 0.68