Ignore:
File:
1 edited

Legend:

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

    • Property svn:keywords deleted
    r3 r1  
    1 /* $Id$ 
    2  * 
    3  */ 
     1/* $Header: /pjproject-0.3/pjlib/include/pj/os.h 12    10/29/05 11:30a Bennylp $ */ 
    42 
    53#ifndef __PJ_OS_H__ 
     
    6058 */ 
    6159#if !defined(PJ_THREAD_DESC_SIZE) 
    62 #   define PJ_THREAD_DESC_SIZE      (16) 
     60#   define PJ_THREAD_DESC_SIZE      (PJ_MAX_OBJ_NAME + 10*sizeof(long)) 
    6361#endif 
    6462 
     
    6765 * or native API.  
    6866 */ 
    69 typedef long pj_thread_desc[PJ_THREAD_DESC_SIZE]; 
     67typedef pj_uint8_t pj_thread_desc[PJ_THREAD_DESC_SIZE]; 
    7068 
    7169/** 
     
    247245 * @param value     The value. 
    248246 */ 
    249 PJ_DECL(pj_status_t) pj_thread_local_set(long index, void *value); 
     247PJ_DECL(void) pj_thread_local_set(long index, void *value); 
    250248 
    251249/** 
     
    786784    struct 
    787785    { 
    788 #if defined(PJ_IS_LITTLE_ENDIAN) && PJ_IS_LITTLE_ENDIAN!=0 
    789786        pj_uint32_t lo;     /**< Low 32-bit value of the 64-bit value. */ 
    790787        pj_uint32_t hi;     /**< high 32-bit value of the 64-bit value. */ 
    791 #else 
    792         pj_uint32_t hi;     /**< high 32-bit value of the 64-bit value. */ 
    793         pj_uint32_t lo;     /**< Low 32-bit value of the 64-bit value. */ 
    794 #endif 
    795788    } u32;                  /**< The 64-bit value as two 32-bit values. */ 
    796789 
Note: See TracChangeset for help on using the changeset viewer.