aes_types 0.1.0

Adobe ExtendScript external object library implementation in Rust
Documentation
#[derive(Debug, Clone)]
pub struct LiveObject(*mut libc::c_long);

impl LiveObject {
    pub fn new(obj: *mut libc::c_long) -> Self {
        LiveObject(obj)
    }

    pub fn as_ptr(&self) -> *mut libc::c_long {
        self.0
    }
}

// Automatically release the object when it goes out of scope
impl Drop for LiveObject {
    fn drop(&mut self) {
        // TODO: Add proper cleanup if needed
    }
}