mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-07-30 20:18:08 +00:00
Remove the OrtApiBase base_ member from OrtApi (#2242)
* Remove the OrtApiBase base_ member from OrtApi * Forgot about C#
This commit is contained in:
parent
d0b8f96692
commit
2c864e0ffc
3 changed files with 0 additions and 5 deletions
|
|
@ -16,7 +16,6 @@ namespace Microsoft.ML.OnnxRuntime
|
|||
[StructLayout(LayoutKind.Sequential)]
|
||||
public struct OrtApi
|
||||
{
|
||||
public OrtApiBase base_;
|
||||
public IntPtr CreateStatus;
|
||||
public IntPtr GetErrorCode;
|
||||
public IntPtr GetErrorMessage;
|
||||
|
|
|
|||
|
|
@ -220,8 +220,6 @@ typedef struct OrtApiBase OrtApiBase;
|
|||
ORT_EXPORT const OrtApiBase* ORT_API_CALL OrtGetApiBase() NO_EXCEPTION;
|
||||
|
||||
struct OrtApi {
|
||||
OrtApiBase base_;
|
||||
|
||||
/**
|
||||
* \param msg A null-terminated string. Its content will be copied into the newly created OrtStatus
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -1279,8 +1279,6 @@ static constexpr OrtApiBase ort_api_base = {
|
|||
};
|
||||
|
||||
static constexpr OrtApi ort_api_1 = {
|
||||
ort_api_base,
|
||||
|
||||
&OrtApis::CreateStatus,
|
||||
&OrtApis::GetErrorCode,
|
||||
&OrtApis::GetErrorMessage,
|
||||
|
|
|
|||
Loading…
Reference in a new issue