NotFound wrote:
+=item C<void delete_keyed_int(INTVAL key)>
+
+Removes the element at C<key>.
+
+=cut
+
+*/
+
+    VTABLE void delete_keyed_int(INTVAL key) {
+        INTVAL size = PMC_int_val(SELF);
With the use of the set_integer_native entry later, this should probably be:

       INTVAL size = SELF.get_integer();

I borrowed it from the shift and unshift functions. Maybe a complete
revision of this PMC will be the way to go. I'll take a look tomorrow.


BTW, there is ticket for replacing PMC_*_val with VTABLE methods (#56468)

--
Bacek

Reply via email to