Skip to content

Commit

Permalink
fix: 🐛 missing [byRef] udl syntax in unsubscribe method (#66)
Browse files Browse the repository at this point in the history
* fix: 🐛 build issue. unsubscribe method

* fix: 🐛 updated cpp udl
  • Loading branch information
afsalz authored Jan 29, 2024
1 parent 35837a4 commit 0beaaec
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dotlottie-ffi/src/dotlottie_player.udl
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,6 @@ interface DotLottiePlayer {
boolean resize(u32 width, u32 height);
void clear();
void subscribe(Observer observer);
void unsubscribe(Observer observer);
void unsubscribe([ByRef] Observer observer);
boolean is_complete();
};
2 changes: 1 addition & 1 deletion dotlottie-ffi/src/dotlottie_player_cpp.udl
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,6 @@ interface DotLottiePlayer {
boolean resize(u32 width, u32 height);
void clear();
void subscribe(Observer observer);
void unsubscribe(Observer observer);
void unsubscribe([ByRef] Observer observer);
boolean is_complete();
};

0 comments on commit 0beaaec

Please sign in to comment.