This repository has been archived on 2023-10-09. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
blender-archive/source/blender
Clément Foucault 36b02c3815 GPUSource: Fix failure case in the enum preprocessor
Some C headers might define the typedefs of the enum themselves.
Even if they are guarded by preprocessor `#if`, our enum preprocessor
has no idea of the validity of the statement. So we just bypass
if there is a typedef just before any `enum` keywords.

Note that the typedef matching is quite fragile.
2022-03-19 22:05:34 +01:00
..
2022-03-19 10:24:56 -07:00
2022-03-18 12:07:08 +01:00
2022-03-19 10:24:56 -07:00
2022-03-16 11:58:22 +11:00
2022-03-16 11:58:22 +11:00
2022-03-19 10:24:56 -07:00
2022-03-18 12:07:08 +01:00
2022-03-16 11:58:22 +11:00
2022-02-15 12:32:15 +01:00