#define _BABELTRACE_BITFIELD_H
/*
- * BabelTrace
- *
- * Bitfields read/write functions.
- *
* Copyright 2010 - Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
#include <stdint.h> /* C99 5.2.4.2 Numerical limits */
#include <babeltrace/compat/limits-internal.h> /* C99 5.2.4.2 Numerical limits */
-#include <assert.h>
#include <babeltrace/endian-internal.h> /* Non-standard BIG_ENDIAN, LITTLE_ENDIAN, BYTE_ORDER */
/* We can't shift a int from 32 bit, >> 32 and << 32 on int is undefined */