Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/battlecode/battlecode-2018
/ to_c
Method
to_c
bindings/frankenswig/__init__.py:424–427 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
422
+ self.format(RUST_FOOTER)
423
424
def
to_c(self):
425
return
self.format(C_HEADER)\
426
+
''
.join(elem.to_c()
for
elem in self.elements)\
427
+ self.format(C_FOOTER)
428
429
def
to_swig(self):
430
return
self.format(SWIG_HEADER)\
Callers
nothing calls this directly
Calls
1
format
Method · 0.95
Tested by
no test coverage detected