diff options
Diffstat (limited to 'src/select/properties/counter_reset.c')
-rw-r--r-- | src/select/properties/counter_reset.c | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/src/select/properties/counter_reset.c b/src/select/properties/counter_reset.c index 8bcd462..60b3939 100644 --- a/src/select/properties/counter_reset.c +++ b/src/select/properties/counter_reset.c @@ -91,25 +91,3 @@ css_error compose_counter_reset(const css_computed_style *parent, return CSS_OK; } - -uint32_t destroy_counter_reset(void *bytecode) -{ - uint32_t consumed = sizeof(uint32_t); - uint32_t value = getValue(*((uint32_t*)bytecode)); - bytecode = ((uint8_t*)bytecode) + sizeof(uint32_t); - - if (value == COUNTER_INCREMENT_NAMED) { - while (value != COUNTER_INCREMENT_NONE) { - lwc_string *str = *((lwc_string **)bytecode); - consumed += sizeof(lwc_string*) + sizeof(css_fixed); - bytecode = ((uint8_t*)bytecode) + sizeof(lwc_string*) + sizeof(css_fixed); - lwc_string_unref(str); - - consumed += sizeof(uint32_t); - value = *((uint32_t*)bytecode); - bytecode = ((uint8_t*)bytecode) + sizeof(uint32_t); - } - } - - return consumed; -} |