use crate::syscalls::{Syscall, SyscallRegistryEntry, caps}; pub(crate) const ENTRIES: &[SyscallRegistryEntry] = &[ SyscallRegistryEntry::builder(Syscall::ComposerBindScene, "composer", "bind_scene") .args(1) .rets(1) .caps(caps::GFX) .cost(5), SyscallRegistryEntry::builder(Syscall::ComposerUnbindScene, "composer", "unbind_scene") .rets(1) .caps(caps::GFX) .cost(2), SyscallRegistryEntry::builder(Syscall::ComposerSetCamera, "composer", "set_camera") .args(2) .caps(caps::GFX) .cost(2), SyscallRegistryEntry::builder(Syscall::ComposerEmitSprite, "composer", "emit_sprite") .args(9) .rets(1) .caps(caps::GFX) .cost(5), ];