Stdbool is c99.Include this heander force other one use c99.
It’s same thing like force them use c++;)

From: pinxiong [mailto:notifications@github.com]
Sent: Thursday, May 8, 2014 10:23 AM
To: 01org/libyami
Cc: Xu, Guangxin
Subject: Re: [libyami] update data type (#17)


In codecparsers/vp8parser.h:

>

> -boolean

> +bool
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<https://github.com/01org/libyami/pull/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>.

—
Reply to this email directly or view it on GitHub<https://github.com/01org/libyami/pull/17/files#r12413311>.