Changeset 81
- Timestamp:
- Nov 23, 2005 8:55:37 PM (19 years ago)
- Location:
- pjproject/trunk/pjlib-util
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjlib-util/include/pjlib-util/scanner.h
r77 r81 116 116 */ 117 117 PJ_DECL(void) pj_cis_add_str( pj_cis_t *cis, const char *str); 118 119 /** 120 * Add specification from another specification. 121 * 122 * @param cis The specification is to be set. 123 * @param rhs The specification to be copied. 124 */ 125 PJ_DECL(void) pj_cis_add_cis( pj_cis_t *cis, const pj_cis_t *rhs); 118 126 119 127 /** -
pjproject/trunk/pjlib-util/src/pjlib-util/scanner.c
r79 r81 73 73 } 74 74 75 PJ_DEF(void) pj_cis_add_cis( pj_cis_t *cis, const pj_cis_t *rhs) 76 { 77 int i; 78 for (i=0; i<256; ++i) { 79 if (PJ_CIS_ISSET(rhs, i)) 80 PJ_CIS_SET(cis, i); 81 } 82 } 83 75 84 PJ_DEF(void) pj_cis_del_range( pj_cis_t *cis, int cstart, int cend) 76 85 {
Note: See TracChangeset
for help on using the changeset viewer.