MCPcopy Create free account
hub / github.com/antmachineintelligence/mtgbmcode / c_str

Function c_str

tests/c_api_test/test_.py:60–61  ·  view source on GitHub ↗
(string)

Source from the content-addressed store, hash-verified

58
59
60def c_str(string):
61 return ctypes.c_char_p(string.encode('ascii'))
62
63
64def load_from_file(filename, reference):

Callers 6

load_from_fileFunction · 0.70
save_to_binaryFunction · 0.70
load_from_csrFunction · 0.70
load_from_cscFunction · 0.70
load_from_matFunction · 0.70
test_boosterFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected