From b8d88ec973f91cd606e540c6f1be33082683736d Mon Sep 17 00:00:00 2001 From: Abdelrahman Ashraf Date: Thu, 27 Jun 2024 00:02:11 +0700 Subject: [PATCH] =?UTF-8?q?chore(wasm):=20=F0=9F=A4=96=20add=20missing=20b?= =?UTF-8?q?indings=20in=20UDL=20(#192)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dotlottie-ffi/src/dotlottie_player_cpp.udl | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dotlottie-ffi/src/dotlottie_player_cpp.udl b/dotlottie-ffi/src/dotlottie_player_cpp.udl index ebf8fae8..6e696f55 100644 --- a/dotlottie-ffi/src/dotlottie_player_cpp.udl +++ b/dotlottie-ffi/src/dotlottie_player_cpp.udl @@ -84,6 +84,9 @@ interface DotLottiePlayer { boolean start_state_machine(); boolean stop_state_machine(); boolean post_serialized_event(string event); + boolean set_state_machine_numeric_context([ByRef] string key, f32 value); + boolean set_state_machine_string_context([ByRef] string key, [ByRef] string value); + boolean set_state_machine_boolean_context([ByRef] string key, boolean value); sequence state_machine_framework_setup(); boolean load_state_machine_data([ByRef] string state_machine); };