Skip to content
Browse files

Add struct tags for easier debugging with gdb

  • Loading branch information...
1 parent 1477ed7 commit 936812c45af1d862532a54e39183b256776da7d1 David Reiss committed Mar 19, 2010
Showing with 2 additions and 2 deletions.
  1. +2 −2 _re2.cc
View
4 _re2.cc
@@ -39,14 +39,14 @@ using re2::RE2;
using re2::StringPiece;
-typedef struct {
+typedef struct _RegexpObject2 {
PyObject_HEAD
// __dict__. Simpler than implementing getattr and possibly faster.
PyObject* attr_dict;
RE2* re2_obj;
} RegexpObject2;
-typedef struct {
+typedef struct _MatchObject2 {
PyObject_HEAD
// __dict__. Simpler than implementing getattr and possibly faster.
PyObject* attr_dict;

0 comments on commit 936812c

Please sign in to comment.
Something went wrong with that request. Please try again.