MCPcopy Create free account
hub / github.com/python/mypy / ctype

Method ctype

mypyc/codegen/emit.py:361–362  ·  view source on GitHub ↗
(self, rtype: RType)

Source from the content-addressed store, hash-verified

359 return self.static_name(cl.name, cl.module_name, prefix=TYPE_PREFIX)
360
361 def ctype(self, rtype: RType) -> str:
362 return rtype._ctype
363
364 def ctype_spaced(self, rtype: RType) -> str:
365 """Adds a space after ctype for non-pointers."""

Callers 7

ctype_spacedMethod · 0.95
c_undefined_valueMethod · 0.95
emit_castMethod · 0.95
emit_unboxMethod · 0.95
emit_gc_visitMethod · 0.95
emit_gc_clearMethod · 0.95
generate_arg_checkFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected