Changeset 746


Ignore:
Timestamp:
Oct 3, 2006 5:00:00 PM (18 years ago)
Author:
bennylp
Message:

Fixed minor error in pj_thread_is_registered() API. The return value should be pj_bool_t instead of pj_status_t. (Note: this change should not break anything).

Location:
pjproject/trunk/pjlib
Files:
3 edited

Legend:

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

    r674 r746  
    135135 * @return              Non-zero if it is registered. 
    136136 */ 
    137 PJ_DECL(pj_status_t) pj_thread_is_registered(void); 
     137PJ_DECL(pj_bool_t) pj_thread_is_registered(void); 
    138138 
    139139 
  • pjproject/trunk/pjlib/src/pj/os_core_unix.c

    r708 r746  
    183183 * Check if this thread has been registered to PJLIB. 
    184184 */ 
    185 PJ_DEF(pj_status_t) pj_thread_is_registered(void) 
     185PJ_DEF(pj_bool_t) pj_thread_is_registered(void) 
    186186{ 
    187187    return pj_thread_local_get(thread_tls_id) != 0; 
  • pjproject/trunk/pjlib/src/pj/os_core_win32.c

    r674 r746  
    189189 * Check if this thread has been registered to PJLIB. 
    190190 */ 
    191 PJ_DEF(pj_status_t) pj_thread_is_registered(void) 
     191PJ_DEF(pj_bool_t) pj_thread_is_registered(void) 
    192192{ 
    193193    return pj_thread_local_get(thread_tls_id) != 0; 
Note: See TracChangeset for help on using the changeset viewer.