diff options
Diffstat (limited to 'src/select/properties/cursor.c')
-rw-r--r-- | src/select/properties/cursor.c | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/src/select/properties/cursor.c b/src/select/properties/cursor.c index 249d8b4..5075fa4 100644 --- a/src/select/properties/cursor.c +++ b/src/select/properties/cursor.c @@ -210,22 +210,3 @@ css_error compose_cursor(const css_computed_style *parent, return CSS_OK; } -uint32_t destroy_cursor(void *bytecode) -{ - uint32_t consumed = sizeof(uint32_t); - uint32_t value = getValue(*((uint32_t*)bytecode)); - bytecode = ((uint8_t*)bytecode) + sizeof(uint32_t); - - while (value == CURSOR_URI) { - lwc_string *str = *((lwc_string **)bytecode); - consumed += sizeof(lwc_string*); - bytecode = ((uint8_t*)bytecode) + sizeof(lwc_string*); - lwc_string_unref(str); - - consumed += sizeof(uint32_t); - value = *((uint32_t*)bytecode); - bytecode = ((uint8_t*)bytecode) + sizeof(uint32_t); - } - - return consumed; -} |