Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/LeelaChessZero/lc0
/ cpp_type
Method
cpp_type
scripts/pybind/retval.py:71–72 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
69
70
class
StringRetVal(GenericStringRetVal):
71
def
cpp_type(self):
72
return
'const std::string&'
73
74
def
GenerateConversion(self, w):
75
w.Write(f
'{self.py_val()} = Py_BuildValue("s#", '
Callers
2
_generate_call
Method · 0.45
_generate_call
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected