[svn:parrot] r47090 - branches/gsoc_nfg/include/parrot

darbelo at svn.parrot.org darbelo at svn.parrot.org
Fri May 28 15:24:35 UTC 2010


Author: darbelo
Date: Fri May 28 15:24:34 2010
New Revision: 47090
URL: https://trac.parrot.org/parrot/changeset/47090

Log:
Add a pointer to the string structure, so that we can hang arbitrary extra data off it.

Modified:
   branches/gsoc_nfg/include/parrot/pobj.h

Modified: branches/gsoc_nfg/include/parrot/pobj.h
==============================================================================
--- branches/gsoc_nfg/include/parrot/pobj.h	Fri May 28 15:01:16 2010	(r47089)
+++ branches/gsoc_nfg/include/parrot/pobj.h	Fri May 28 15:24:34 2010	(r47090)
@@ -81,6 +81,7 @@
     /*    parrot_string_representation_t representation;*/
     const struct _encoding *encoding;
     const struct _charset  *charset;
+    void                   *extra;
 };
 
 /* note that cache and flags are isomorphic with Buffer and PObj */


More information about the parrot-commits mailing list