pub unsafe fn line_get_point_count(obj: *mut Object) -> Result<u32>
This function is unsafe because it may dereference raw pointers.