# New Ticket Created by Michal Wallace
# Please include the string: [perl #36525]
# in the subject line of all future correspondence about this issue.
# <URL: https://rt.perl.org/rt3/Ticket/Display.html?id=36525 >
This is a simple patch to get pyboolean.pmc
working in the pirate test suite again.
Basically, set_bool just wasn't implemented,
so I added it.
- Michal
http://withoutane.com/
Index: dynclasses/pyboolean.pmc
===================================================================
--- dynclasses/pyboolean.pmc (revision 8609)
+++ dynclasses/pyboolean.pmc (working copy)
@@ -85,6 +85,20 @@
/*
+=item C<void set_bool(INTVAL value)>
+
+=cut
+
+*/
+
+ void set_bool (INTVAL value) {
+ PMC_int_val(SELF) = value;
+ }
+
+
+
+/*
+
=item C<PMC *get_class()>
Return the class of this object.