Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion shared/api/c_api_utils.cc
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ OrtxStatus OrtxObjectImpl::IsInstanceOf(extObjectKind_t kind) const {

int ORTX_API_CALL OrtxGetAPIVersion() { return API_VERSION; }

const char* OrtxGetLastErrorMessage() { return ReturnableStatus::last_error_message_.c_str(); }
const char* ORTX_API_CALL OrtxGetLastErrorMessage() { return ReturnableStatus::last_error_message_.c_str(); }

extError_t ORTX_API_CALL OrtxCreate(extObjectKind_t kind, OrtxObject** object, ...) {
if (object == nullptr) {
Expand Down