defs.h   defs.h 
#ifndef _LIBHX_DEFS_H #ifndef _LIBHX_DEFS_H
#define _LIBHX_DEFS_H 1 #define _LIBHX_DEFS_H 1
#ifdef __cplusplus #ifdef __cplusplus
# if defined(__GNUC__) && !defined(offsetof) # if defined(__GNUC__) && __GNUC__ >= 4 && !defined(offsetof)
# define offsetof(type, member) __builtin_offsetof(type, membe r) # define offsetof(type, member) __builtin_offsetof(type, membe r)
# endif # endif
# ifndef offsetof # ifndef offsetof
# define offsetof(type, member) \ # define offsetof(type, member) \
reinterpret_cast<long>(&(static_cast<type *>(NULL)-> member)) reinterpret_cast<long>(&(static_cast<type *>(NULL)-> member))
# endif # endif
# ifndef containerof # ifndef containerof
# define containerof(var, type, member) reinterpret_cast<type *>( \ # define containerof(var, type, member) reinterpret_cast<type *>( \
reinterpret_cast<char *>(var) - offsetof(type, membe r)) reinterpret_cast<char *>(var) - offsetof(type, membe r))
# endif # endif
skipping to change at line 119 skipping to change at line 119
# define const_cast(type, expr) ((type)(expr)) # define const_cast(type, expr) ((type)(expr))
# endif # endif
# ifndef const_cast1 # ifndef const_cast1
# define const_cast1(type, expr) ((type)(expr)) # define const_cast1(type, expr) ((type)(expr))
# define const_cast2(type, expr) ((type)(expr)) # define const_cast2(type, expr) ((type)(expr))
# define const_cast3(type, expr) ((type)(expr)) # define const_cast3(type, expr) ((type)(expr))
# endif # endif
# ifndef reinterpret_cast # ifndef reinterpret_cast
# define reinterpret_cast(type, expr) ((type)(expr)) # define reinterpret_cast(type, expr) ((type)(expr))
# endif # endif
# if defined(__GNUC__) && !defined(offsetof) # if defined(__GNUC__) && __GNUC__ >= 4 && !defined(offsetof)
# define offsetof(type, member) __builtin_offsetof(type, membe r) # define offsetof(type, member) __builtin_offsetof(type, membe r)
# endif # endif
# ifndef offsetof # ifndef offsetof
# define offsetof(type, member) \ # define offsetof(type, member) \
reinterpret_cast(long, &(static_cast(type *, NULL)-> member)) reinterpret_cast(long, &(static_cast(type *, NULL)-> member))
# endif # endif
# ifndef containerof # ifndef containerof
# define containerof(var, type, member) reinterpret_cast(type *, \ # define containerof(var, type, member) reinterpret_cast(type *, \
reinterpret_cast(char *, var) - offsetof(type, membe r)) reinterpret_cast(char *, var) - offsetof(type, membe r))
# endif # endif
 End of changes. 2 change blocks. 
2 lines changed or deleted 2 lines changed or added


 libHX.h   libHX.h 
#ifndef _LIBHX_H #ifndef _LIBHX_H
#define _LIBHX_H 20080902 #define _LIBHX_H 20090101
/*
* This file is for programs that really need about everything. The presenc
e of
* this file is undocumented, but you can rely on its presence and that it
* always includes a given feature set. (Once an "#include" is added, it sh
all
* be considered documented behavior that feature xyz is available merely b
y
* inclusion of this file. Henceforth, "#includes" may not be removed from
here
* unless the implementation really went away.
*/
#include <libHX/arbtree.h> #include <libHX/arbtree.h>
#include <libHX/clist.h>
#include <libHX/ctype_helper.h>
#include <libHX/defs.h>
#include <libHX/deque.h> #include <libHX/deque.h>
#include <libHX/list.h>
#include <libHX/misc.h> #include <libHX/misc.h>
#include <libHX/option.h> #include <libHX/option.h>
#include <libHX/proc.h>
#include <libHX/string.h> #include <libHX/string.h>
/* not libxml_helper, because that requires libxml2 */
#endif /* _LIBHX_H */ #endif /* _LIBHX_H */
 End of changes. 5 change blocks. 
1 lines changed or deleted 21 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/