diff options
author | Chia-I Wu <[email protected]> | 2010-12-06 10:27:39 +0800 |
---|---|---|
committer | Chia-I Wu <[email protected]> | 2010-12-06 15:40:37 +0800 |
commit | 8f2a974cf2c9b6c00dfac11be4316a7d121dfbb4 (patch) | |
tree | 33f4139d4adb57568a9e020a06a696ffdb3922f2 /src/gallium/state_trackers/vega/api.h | |
parent | 5ae4b6693a8254236435960ef84701fe405fe59b (diff) |
mapi: Rewrite mapi_abi.py to get rid of preprocessor magic.
The preprocessor magic in mapi was nothing but obfuscation. Rewrite
mapi_abi.py to generate real C code.
This commit removes the hack added in
43121f20866bb89e8dac92bd92ec85a943704b7e.
Diffstat (limited to 'src/gallium/state_trackers/vega/api.h')
-rw-r--r-- | src/gallium/state_trackers/vega/api.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/gallium/state_trackers/vega/api.h b/src/gallium/state_trackers/vega/api.h index 955508dae9a..459dafb4bb0 100644 --- a/src/gallium/state_trackers/vega/api.h +++ b/src/gallium/state_trackers/vega/api.h @@ -33,10 +33,7 @@ #include "VG/vgext.h" #include "vg_manager.h" -/* declare the prototypes */ -#define MAPI_ABI_ENTRY(ret, name, params) \ - ret VG_API_ENTRY vega ## name params; -#include "vgapi/vgapi_tmp.h" +#include "api_tmp.h" struct mapi_table; |