v/vlib/gx/image.v

14 lines
161 B
V

module gx
pub struct Image {
mut:
obj voidptr
pub:
id int
width int
height int
}
pub fn (i Image) is_empty() bool {
return i.obj == unsafe { nil }
}