Fix alignment issues introduced by the pa_bool -> bool conversion

This commit is contained in:
poljar (Damir Jelić) 2013-06-28 01:03:47 +02:00 committed by Tanu Kaskinen
parent d806b19714
commit 408f0ba783
7 changed files with 46 additions and 46 deletions

View file

@ -70,7 +70,7 @@ static inline pa_object* pa_object_cast(void *o) {
#define PA_OBJECT(o) pa_object_cast(o)
#define PA_DECLARE_CLASS_COMMON(c) \
static inline bool c##_isinstance(void *o) { \
static inline bool c##_isinstance(void *o) { \
pa_object *obj = (pa_object*) o; \
return obj ? obj->check_type(c##_type_id) : true; \
} \
@ -99,7 +99,7 @@ static inline pa_object* pa_object_cast(void *o) {
#define PA_DEFINE_PUBLIC_CLASS(c, parent) \
const char c##_type_id[] = #c; \
bool c##_check_type(const char *type_id) { \
bool c##_check_type(const char *type_id) { \
if (type_id == c##_type_id) \
return true; \
return parent##_check_type(type_id); \
@ -109,7 +109,7 @@ static inline pa_object* pa_object_cast(void *o) {
#define PA_DEFINE_PRIVATE_CLASS(c, parent) \
static const char c##_type_id[] = #c; \
PA_DECLARE_CLASS_COMMON(c); \
static bool c##_check_type(const char *type_id) { \
static bool c##_check_type(const char *type_id) { \
if (type_id == c##_type_id) \
return true; \
return parent##_check_type(type_id); \