dotgnu-pnet-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Dotgnu-pnet-commits] CVS: pnet/include il_utils.h,1.17,1.18


From: Gopal.V <address@hidden>
Subject: [Dotgnu-pnet-commits] CVS: pnet/include il_utils.h,1.17,1.18
Date: Thu, 12 Dec 2002 23:43:45 -0500

Update of /cvsroot/dotgnu-pnet/pnet/include
In directory subversions:/tmp/cvs-serv29582/include

Modified Files:
        il_utils.h 
Log Message:
return the group matches to the engine from support/ code


Index: il_utils.h
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnet/include/il_utils.h,v
retrieving revision 1.17
retrieving revision 1.18
diff -C2 -r1.17 -r1.18
*** il_utils.h  13 Dec 2002 03:00:54 -0000      1.17
--- il_utils.h  13 Dec 2002 04:43:43 -0000      1.18
***************
*** 498,501 ****
--- 498,511 ----
  typedef void* ILRegexpHandle;
  
+ /*
+  * Non-Opaque handle for regexp results
+  */
+ struct _ILRegexpMatch
+ {
+       int start;
+       int end;
+ };
+ typedef struct _ILRegexpMatch ILRegexpMatch;
+ 
  /* 
   * Regexp compile mapping on to regcomp 
***************
*** 505,510 ****
  /*
   * Regexp execute mapping onto regexec
   */
! int ILRegexpExec(ILRegexpHandle handle,char* input,int flags);
  
  /*
--- 515,522 ----
  /*
   * Regexp execute mapping onto regexec
+  * Note: match is allocated inside this function
   */
! int ILRegexpExec(ILRegexpHandle handle,char* input,int flags,
!                                                                               
ILRegexpMatch** match);
  
  /*




reply via email to

[Prev in Thread] Current Thread [Next in Thread]