Changeset 206 for pjproject


Ignore:
Timestamp:
Feb 21, 2006 11:40:16 PM (19 years ago)
Author:
bennylp
Message:

Added pj_ansi/native/unicode_snprintf, and added comment in errno.h

Location:
pjproject/trunk/pjlib/include/pj
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjlib/include/pj/compat/string.h

    r198 r206  
    4343#  endif 
    4444#  define snprintf      _snprintf 
     45#  define snwprintf     _snwprintf 
    4546#  define wcsicmp       _wcsicmp 
    4647#  define wcsnicmp      _wcsnicmp 
     
    6768#define pj_ansi_strnicmp        strncasecmp 
    6869#define pj_ansi_sprintf         sprintf 
     70#define pj_ansi_snprintf        snprintf 
    6971 
    7072#define pj_unicode_strcmp       wcscmp 
     
    8082#define pj_unicode_strnicmp     wcsnicmp 
    8183#define pj_unicode_sprintf      swprintf 
     84#define pj_unicode_snprintf     snwprintf 
    8285 
    8386 
     
    9598#   define pj_native_strnicmp       pj_unicode_strnicmp 
    9699#   define pj_native_sprintf        pj_unicode_sprintf 
     100#   define pj_native_snprintf       pj_unicode_snprintf 
    97101#else 
    98102#   define pj_native_strcmp         pj_ansi_strcmp 
     
    108112#   define pj_native_strnicmp       pj_ansi_strnicmp 
    109113#   define pj_native_sprintf        pj_ansi_sprintf 
     114#   define pj_native_snprintf       pj_ansi_snprintf 
    110115#endif 
    111116 
  • pjproject/trunk/pjlib/include/pj/errno.h

    r138 r206  
    302302 
    303303 
     304/* 
     305 * Below are list of error spaces that have been taken so far: 
     306 *  - PJSIP_ERRNO_START         (PJ_ERRNO_START_USER) 
     307 *  - PJMEDIA_ERRNO_START       (PJ_ERRNO_START_USER + PJ_ERRNO_SPACE_SIZE) 
     308 *  - PJSIP_SIMPLE_ERRNO_START  (PJ_ERRNO_START_USER + PJ_ERRNO_SPACE_SIZE*2) 
     309 */ 
     310 
     311 
    304312PJ_END_DECL 
    305313 
Note: See TracChangeset for help on using the changeset viewer.