export some builtin traits,

brightness conversion fails for invalid values,

macros for wrapping attrs
This commit is contained in:
Vinzenz Schroeter 2025-06-16 14:56:24 +02:00
parent bffc905261
commit f4c7519658
21 changed files with 210 additions and 133 deletions

View file

@ -1,13 +1,14 @@
use crate::{
commands::wrap_command, compression_code::CompressionCode,
containers::bitmap::Bitmap, macros::wrap_object,
containers::bitmap::Bitmap, macros::wrap_object_attr_wrapped,
};
use servicepoint::Origin;
use std::sync::Arc;
wrap_object!(BitmapCommand);
wrap_command!(BitmapCommand);
wrap_object_attr_wrapped!(BitmapCommand, bitmap, Bitmap);
#[uniffi::export]
impl BitmapCommand {
#[uniffi::constructor]