cvsuser     04/11/30 07:59:00

  Modified:    dynclasses pyboolean.pmc
  Log:
  Make OSX happy
  
  Revision  Changes    Path
  1.3       +6 -6      parrot/dynclasses/pyboolean.pmc
  
  Index: pyboolean.pmc
  ===================================================================
  RCS file: /cvs/public/parrot/dynclasses/pyboolean.pmc,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- pyboolean.pmc     28 Nov 2004 17:27:43 -0000      1.2
  +++ pyboolean.pmc     30 Nov 2004 15:59:00 -0000      1.3
  @@ -1,6 +1,6 @@
   /*
   Copyright: 2001-2003 The Perl Foundation.  All Rights Reserved.
  -$Id: pyboolean.pmc,v 1.2 2004/11/28 17:27:43 rubys Exp $
  +$Id: pyboolean.pmc,v 1.3 2004/11/30 15:59:00 rubys Exp $
   
   =head1 NAME
   
  @@ -23,8 +23,8 @@
   
   #include "parrot/parrot.h"
   
  -static STRING *TRUE;
  -static STRING *FALSE;
  +static STRING *_TRUE;
  +static STRING *_FALSE;
   
   pmclass PyBoolean extends PyObject dynpmc group python_group {
   
  @@ -40,8 +40,8 @@
   
       void class_init() {
           if (pass) {
  -            TRUE = const_string(INTERP, "True");
  -            FALSE = const_string(INTERP, "False");
  +            _TRUE = const_string(INTERP, "True");
  +            _FALSE = const_string(INTERP, "False");
           }
       }
   
  @@ -70,7 +70,7 @@
   */
   
       STRING* get_string () {
  -        return PMC_int_val(SELF) ? TRUE : FALSE;
  +        return PMC_int_val(SELF) ? _TRUE : _FALSE;
       }
   
   /*
  
  
  

Reply via email to