rootpy.compiled.register_code¶
-
rootpy.compiled.
register_code
(self, code, symbols)¶ Register C++ code in a multiline string
Parameters: code : str
A string containing the C++ code
symbols : list
A list of symbol names to extract from the compiled C++ code
Notes
This assumes that call site occurs exactly once. If you don’t do that, you’re better off writing to a temporary file and calling register_file