aotComponentOps top-level constant

List<String> const aotComponentOps

The AOT ABI contract shared by the Dart generator (this file), the Rust glue generator (rust_glue.dart), and the build/link hooks (aot_build.dart / aot_link.dart). Per-component C entry points the glue exports, as <prefix>_<op>. Must match the #[no_mangle] functions rust_glue.dart emits — a generator test asserts they stay in sync.

Implementation

/// Per-component C entry points the glue exports, as `<prefix>_<op>`.
/// Must match the `#[no_mangle]` functions `rust_glue.dart` emits — a
/// generator test asserts they stay in sync.
const aotComponentOps = [
  'new',
  'free',
  'set_size',
  'render',
  'pointer_event',
  'key_event',
  'get_property',
  'set_property',
  'invoke',
  'set_callback',
];