RacRegisterModelFromUrlProtoNative typedef

RacRegisterModelFromUrlProtoNative = Int32 Function(Pointer<Uint8>, Size, Pointer<RacProtoBuffer>)

Matches rac_register_model_from_url_proto(in_bytes, in_size, out_proto). Shape is identical to RacLifecycleRequestProtoDart (no handle) — see runanywhere-commons/src/infrastructure/model_management/register_model_from_url.cpp.

Implementation

typedef RacRegisterModelFromUrlProtoNative =
    ffi.Int32 Function(
      ffi.Pointer<ffi.Uint8>,
      ffi.Size,
      ffi.Pointer<RacProtoBuffer>,
    );