def _make_inline_call(self, body, **args): # using a uuid for the function name, hopefully avoids conflicts decl = cppinl.cpp_func_def_convert( 'temp2e5e3662020b4edea3ab3a5598010207', body, None, **args) src = self.emit_source(lines=[decl]) lib, fin = self._make(src=src) return lib, fin
def _make_inline_call(self, body, **args): # using a uuid for the function name, hopefully avoids conflicts decl = cppinl.cpp_func_def_convert('temp2e5e3662020b4edea3ab3a5598010207', body, None, **args) src = self.emit_source(lines=[decl]) lib, fin = self._make(src=src) return lib, fin
def inline_source(self, body, **args): decl = cppinl.cpp_func_def_convert( 'temp2e5e3662020b4edea3ab3a5598010207', body, None, **args) src = self.emit_source(lines=[decl]) return src
def decl_func(self, name, body, rtype=None, **args): self.src.append(cppinl.cpp_func_def_convert(name, body, rtype, **args))
def inline_source(self, body, **args): decl = cppinl.cpp_func_def_convert('temp2e5e3662020b4edea3ab3a5598010207', body, None, **args) src = self.emit_source(lines=[decl]) return src