# HG changeset patch # User Matt Plumtree # Date 1281007208 -3600 # Node ID f5b6a43d0d2dd362b8427730bb339875b1b0c6f1 # Parent 13a436a0995be346f455458104c34a7ce8df3484 Bug 1885 "libWFCu.def exports" diff -r 13a436a0995b -r f5b6a43d0d2d graphicscomposition/openwfcinterface/bwins/libWFCu.def --- a/graphicscomposition/openwfcinterface/bwins/libWFCu.def Thu Aug 05 12:17:46 2010 +0100 +++ b/graphicscomposition/openwfcinterface/bwins/libWFCu.def Thu Aug 05 12:20:08 2010 +0100 @@ -26,7 +26,7 @@ wfcGetElementAttribiv @ 25 NONAME wfcGetElementBelow @ 26 NONAME wfcGetError @ 27 NONAME - wfcGetOnScreenStream @ 28 NONAME + extwfcGetOnScreenStream @ 28 NONAME wfcGetStrings @ 29 NONAME wfcInsertElement @ 30 NONAME wfcIsExtensionSupported @ 31 NONAME diff -r 13a436a0995b -r f5b6a43d0d2d graphicscomposition/openwfcinterface/eabi/libWFCu.def --- a/graphicscomposition/openwfcinterface/eabi/libWFCu.def Thu Aug 05 12:17:46 2010 +0100 +++ b/graphicscomposition/openwfcinterface/eabi/libWFCu.def Thu Aug 05 12:20:08 2010 +0100 @@ -26,7 +26,7 @@ wfcGetElementAttribiv @ 25 NONAME wfcGetElementBelow @ 26 NONAME wfcGetError @ 27 NONAME - wfcGetOnScreenStream @ 28 NONAME + extwfcGetOnScreenStream @ 28 NONAME wfcGetStrings @ 29 NONAME wfcInsertElement @ 30 NONAME wfcIsExtensionSupported @ 31 NONAME diff -r 13a436a0995b -r f5b6a43d0d2d graphicscomposition/openwfcinterface/include/wfcplatform.h --- a/graphicscomposition/openwfcinterface/include/wfcplatform.h Thu Aug 05 12:17:46 2010 +0100 +++ b/graphicscomposition/openwfcinterface/include/wfcplatform.h Thu Aug 05 12:20:08 2010 +0100 @@ -30,6 +30,9 @@ #define WFC_DEFAULT_SCREEN_NUMBER (0) #endif +/* for backward compatibility of wfcGetOnScreenStream symbol use */ +#define wfcGetOnScreenStream extwfcGetOnScreenStream + typedef khronos_int32_t WFCint; typedef khronos_float_t WFCfloat; typedef khronos_uint32_t WFCbitfield; diff -r 13a436a0995b -r f5b6a43d0d2d graphicscomposition/openwfcompositionengine/composition/src/wfcapi.c --- a/graphicscomposition/openwfcompositionengine/composition/src/wfcapi.c Thu Aug 05 12:17:46 2010 +0100 +++ b/graphicscomposition/openwfcompositionengine/composition/src/wfcapi.c Thu Aug 05 12:20:08 2010 +0100 @@ -1001,7 +1001,7 @@ /*=========================================================================*/ WFC_API_CALL WFCNativeStreamType WFC_APIENTRY -wfcGetOnScreenStream(WFCDevice dev, WFCContext ctx) WFC_APIEXIT +extwfcGetOnScreenStream(WFCDevice dev, WFCContext ctx) WFC_APIEXIT { WFC_DEVICE* device; WFC_CONTEXT* context;