MCPcopy Create free account
hub / github.com/ddnet/ddnet / String

Class String

datasrc/datatypes.py:183–192  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

181
182
183class String(BaseType):
184 def __init__(self, value):
185 BaseType.__init__(self, "const char*")
186 self.value = value
187
188 def Set(self, value):
189 self.value = value
190
191 def EmitDefinition(self, _name):
192 return ['"' + self.value + '"']
193
194
195class Pointer(BaseType):

Callers 7

__init__Method · 0.90
__init__Method · 0.90
__init__Method · 0.90
__init__Method · 0.90
__init__Method · 0.90
__init__Method · 0.90
__init__Method · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected