Ignore:
File:
1 edited

Legend:

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

    • Property svn:keywords set to Author
    r1 r3  
    1 /* $Header: /pjproject-0.3/pjlib/include/pj/os.h 12    10/29/05 11:30a Bennylp $ */ 
     1/* $Id$ 
     2 * 
     3 */ 
    24 
    35#ifndef __PJ_OS_H__ 
     
    5860 */ 
    5961#if !defined(PJ_THREAD_DESC_SIZE) 
    60 #   define PJ_THREAD_DESC_SIZE      (PJ_MAX_OBJ_NAME + 10*sizeof(long)) 
     62#   define PJ_THREAD_DESC_SIZE      (16) 
    6163#endif 
    6264 
     
    6567 * or native API.  
    6668 */ 
    67 typedef pj_uint8_t pj_thread_desc[PJ_THREAD_DESC_SIZE]; 
     69typedef long pj_thread_desc[PJ_THREAD_DESC_SIZE]; 
    6870 
    6971/** 
     
    245247 * @param value     The value. 
    246248 */ 
    247 PJ_DECL(void) pj_thread_local_set(long index, void *value); 
     249PJ_DECL(pj_status_t) pj_thread_local_set(long index, void *value); 
    248250 
    249251/** 
     
    784786    struct 
    785787    { 
     788#if defined(PJ_IS_LITTLE_ENDIAN) && PJ_IS_LITTLE_ENDIAN!=0 
    786789        pj_uint32_t lo;     /**< Low 32-bit value of the 64-bit value. */ 
    787790        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 
    788795    } u32;                  /**< The 64-bit value as two 32-bit values. */ 
    789796 
Note: See TracChangeset for help on using the changeset viewer.