зеркало из https://github.com/mozilla/gecko-dev.git
Bug 683891: Stop exporting THEBES_API symbols from libxul. r=glandium
This commit is contained in:
Родитель
d382eb7335
Коммит
bd618e782b
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче