MCPcopy Create free account
hub / github.com/BYVoid/OpenCC / RequiredDescriptorSize

Function RequiredDescriptorSize

src/PluginSegmentation.cpp:221–224  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

219};
220
221size_t RequiredDescriptorSize() {
222 return offsetof(opencc_segmentation_plugin_v2, free_error) +
223 sizeof(((opencc_segmentation_plugin_v2*)nullptr)->free_error);
224}
225
226std::string TakeErrorMessage(const opencc_segmentation_plugin_v2* descriptor,
227 opencc_error_t* error,

Callers 1

LoadFromPathMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected