~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/_dirstate_helpers_c.pyx

  • Committer: Robert Collins
  • Date: 2007-10-17 09:39:41 UTC
  • mfrom: (2911 +trunk)
  • mto: This revision was merged to the branch mainline in revision 2933.
  • Revision ID: robertc@robertcollins.net-20071017093941-v7d1djrt2617citb
Merge bzr.dev.

Show diffs side-by-side

added added

removed removed

Lines of Context:
478
478
    cdef char *cur_cstr # Pointer to the current record
479
479
    cdef char *next # Pointer to the end of this record
480
480
 
481
 
    def __new__(self, text):
 
481
    def __init__(self, text):
482
482
        self.text = text
483
483
        self.text_cstr = PyString_AsString(text)
484
484
        self.text_size = PyString_Size(text)