From b116136da234afcad018bb44a3ccb64b9ad2a554 Mon Sep 17 00:00:00 2001 From: Tom Sepez Date: Tue, 9 Jun 2015 11:29:12 -0700 Subject: Merge to XFA: Remove more cruft from fx_system.h New manual edits in the following to fix compilation: fx_bmp.h, fx_gif.h, fx_graphics.h Original Review URL: https://codereview.chromium.org/1169963003 R=thestig@chromium.org Review URL: https://codereview.chromium.org/1170103004 --- xfa/include/fxgraphics/fx_graphics.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'xfa/include') diff --git a/xfa/include/fxgraphics/fx_graphics.h b/xfa/include/fxgraphics/fx_graphics.h index 0eb3cf4e9f..cb86116fa9 100644 --- a/xfa/include/fxgraphics/fx_graphics.h +++ b/xfa/include/fxgraphics/fx_graphics.h @@ -6,6 +6,8 @@ #ifndef __H_FX_GRAPHICS__ #define __H_FX_GRAPHICS__ + +typedef int FX_ERR; #define FX_ERR_Succeeded 0 #define FX_ERR_Indefinite -1 #define FX_ERR_Parameter_Invalid -100 @@ -19,6 +21,7 @@ #define _FX_ERR_CHECK_RETURN_IF_FAIL(arg) {if ((arg) != FX_ERR_Succeeded) return;} #define _FX_ERR_CHECK_RETURN_VALUE_IF_FAIL(arg, val) {if ((arg) != FX_ERR_Succeeded) return val;} #define _FX_ERR_CHECK_GOTO_POSITION_IF_FAIL(arg, pos) {if ((arg) != FX_ERR_Succeeded) goto pos;} + #define FX_SHADING_Steps 256 typedef FX_INT32 FX_DashStyle; enum { -- cgit v1.2.3