/usr/include/orbit-2.0/orbit/util/orbit-util.h is in liborbit2-dev 1:2.14.19-0.3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 | #ifndef ORBIT_UTIL_H
#define ORBIT_UTIL_H 1
#include <glib.h>
#include <orbit/orbit-config.h>
#include <orbit/util/basic_types.h>
#include <orbit/util/orbit-genrand.h>
G_BEGIN_DECLS
/* Align a value upward to a boundary, expressed as a number of bytes.
E.g. align to an 8-byte boundary with argument of 8. */
/*
* (this + boundary - 1)
* &
* ~(boundary - 1)
*/
#define ALIGN_VALUE(this, boundary) \
(( ((gulong)(this)) + (((gulong)(boundary)) -1)) & (~(((gulong)(boundary))-1)))
#define ALIGN_ADDRESS(this, boundary) \
((gpointer)ALIGN_VALUE(this, boundary))
#ifdef ORBIT2_INTERNAL_API
gulong ORBit_wchar_strlen(CORBA_wchar *wstr);
#define num2hexdigit(n) (((n)>9)?((n)+'a'-10):((n)+'0'))
#endif /* ORBIT2_INTERNAL_API */
G_END_DECLS
#endif
|