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