Changeset 63 for pjproject


Ignore:
Timestamp:
Nov 20, 2005 7:57:22 PM (19 years ago)
Author:
bennylp
Message:

Added character (un)escaping utilities in string.h

Location:
pjproject/trunk/pjlib-util
Files:
2 added
3 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjlib-util/build/pjlib_util.dsp

    r33 r63  
    9494# Begin Source File 
    9595 
     96SOURCE="..\src\pjlib-util\string.c" 
     97# End Source File 
     98# Begin Source File 
     99 
    96100SOURCE="..\src\pjlib-util\stun.c" 
    97101# End Source File 
     
    126130# Begin Source File 
    127131 
     132SOURCE="..\include\pjlib-util\string.h" 
     133# End Source File 
     134# Begin Source File 
     135 
    128136SOURCE="..\include\pjlib-util\stun.h" 
    129137# End Source File 
  • pjproject/trunk/pjlib-util/include/pjlib-util/scanner.h

    r51 r63  
    196196 * @param cis       The scanner character specification. 
    197197 * @param c         The character to check for matching. 
     198 * 
     199 * @return          Non-zero if match (not necessarily one). 
    198200 */ 
    199201PJ_INLINE(int) pj_cis_match( const pj_cis_t *cis, int c ) 
  • pjproject/trunk/pjlib-util/src/pjlib-util/scanner.c

    r56 r63  
    4848        if ((cis_buf->use_mask & (1 << i)) == 0) { 
    4949            cis->cis_id = i; 
     50            cis_buf->use_mask |= (1 << i); 
    5051            return PJ_SUCCESS; 
    5152        } 
Note: See TracChangeset for help on using the changeset viewer.