mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 683891: Stop exporting THEBES_API symbols from libxul. r=glandium
This commit is contained in:
parent
9cc71b5f7f
commit
b82fe49789
@ -57,9 +57,24 @@ struct nsIntRect;
|
||||
*/
|
||||
class THEBES_API gfxASurface {
|
||||
public:
|
||||
#ifdef MOZILLA_INTERNAL_API
|
||||
nsrefcnt AddRef(void);
|
||||
nsrefcnt Release(void);
|
||||
|
||||
// These functions exist so that browsercomps can refcount a gfxASurface
|
||||
virtual nsresult AddRefExternal(void)
|
||||
{
|
||||
return AddRef();
|
||||
}
|
||||
virtual nsresult ReleaseExternal(void)
|
||||
{
|
||||
return Release();
|
||||
}
|
||||
#else
|
||||
virtual nsresult AddRef(void);
|
||||
virtual nsresult Release(void);
|
||||
#endif
|
||||
|
||||
public:
|
||||
/**
|
||||
* The format for an image surface. For all formats with alpha data, 0
|
||||
|
@ -47,11 +47,7 @@
|
||||
*/
|
||||
typedef double gfxFloat;
|
||||
|
||||
#if defined(IMPL_THEBES)
|
||||
# define THEBES_API NS_EXPORT
|
||||
#else
|
||||
# define THEBES_API NS_IMPORT
|
||||
#endif
|
||||
# define THEBES_API
|
||||
|
||||
/**
|
||||
* gfx errors
|
||||
|
Loading…
Reference in New Issue
Block a user