MCPcopy Create free account
hub / github.com/apache/arrow / is_char_star

Function is_char_star

cpp/gdb_arrow.py:139–144  ·  view source on GitHub ↗
(ty)

Source from the content-addressed store, hash-verified

137
138
139def is_char_star(ty):
140 # Note that "const char*" can have TYPE_CODE_INT as target type...
141 ty = get_basic_type(ty)
142 return (ty.code == gdb.TYPE_CODE_PTR and
143 get_basic_type(ty.target()).code
144 in (gdb.TYPE_CODE_CHAR, gdb.TYPE_CODE_INT))
145
146
147def deref(val):

Callers

nothing calls this directly

Calls 1

targetMethod · 0.80

Tested by

no test coverage detected