For compatibility between C and C++ for Boolean issue, there is a standard file ‘stdbool.h’.

When you include stdbool.h head file, you can use bool, true and false in C file.

From: Xu Guangxin [mailto:notifications@github.com]
Sent: Thursday, May 08, 2014 9:58 AM
To: 01org/libyami
Cc: Xiong, Pin
Subject: Re: [libyami] update data type (#17)


In codecparsers/vp8parser.h:

>

> -boolean

> +bool

how about BOOL. bool is an c++ keyword.

—
Reply to this email directly or view it on GitHub<https://github.com/01org/libyami/pull/17/files#r12412909>.