Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
wwwtyro's avatar
wwwtyro
Honored Guest
12 years ago

OVR_CAPI.h: bool or ovrBool?

On roughly line 645:

OVR_EXPORT void ovrHmd_ResetFrameTiming(ovrHmd hmd, unsigned int frameIndex, bool vsync);


Should that "bool vsync" be "ovrBool vsync"?

Thanks!

4 Replies

  • Looks like it's just a normal 'bool'.

    Are you having any specific issue with this?
  • Technically C doesn't have bool, so it probably isn't good to have it in a C api.
    However C99 has _Bool, and the stdbool.h header usually defines a bool macro that expands to _Bool.
  • wwwtyro's avatar
    wwwtyro
    Honored Guest
    Just Kojack's point and that you guys have defined an ovrBool, presumably to address that. Really seems like it was meant to be an ovrBool, but if not, is there a reason it's not?

    Thanks!! :)