Skip to content

Commit 4558b51

Browse files
committed
Fix Win x86 build
1 parent abae974 commit 4558b51

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

shared/api/c_api_utils.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ OrtxStatus OrtxObjectImpl::IsInstanceOf(extObjectKind_t kind) const {
2525

2626
int ORTX_API_CALL OrtxGetAPIVersion() { return API_VERSION; }
2727

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

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

0 commit comments

Comments
 (0)