Author: tene
Date: Thu Dec 4 15:27:05 2008
New Revision: 33494
Modified:
trunk/src/pmc/exception.pmc
Log:
[exception.pmc]
* Initial draft of get_bool vtable
Modified: trunk/src/pmc/exception.pmc
==============================================================================
--- trunk/src/pmc/exception.pmc (original)
+++ trunk/src/pmc/exception.pmc Thu Dec 4 15:27:05 2008
@@ -176,6 +176,20 @@
/*
+=item C<STRING *get_bool()>
+
+Return true.
+
+=cut
+
+*/
+
+ VTABLE INTVAL *get_bool() {
+ return (INTVAL)1;
+ }
+
+/*
+
=item C<STRING *get_string()>
Return the exception message.