mirror of
https://github.com/SFML/CSFML.git
synced 2026-10-27 13:36:12 +01:00
Each module now has its own export macro
This commit is contained in:
1 parent
7615382a68
commit
0c5afa3483
70 files changed
+1010
-719
No files matched your search
@@ -28,7 +28,7 @@
|
||||
////////////////////////////////////////////////////////////
|
||||
// Headers
|
||||
////////////////////////////////////////////////////////////
|
||||
#include <SFML/Config.h>
|
||||
#include <SFML/Window/Export.h>
|
||||
#include <SFML/Window/Types.h>
|
||||
|
||||
|
||||
@@ -40,7 +40,7 @@
|
||||
/// \return New sfContext object
|
||||
///
|
||||
////////////////////////////////////////////////////////////
|
||||
CSFML_API sfContext* sfContext_Create(void);
|
||||
CSFML_WINDOW_API sfContext* sfContext_Create(void);
|
||||
|
||||
////////////////////////////////////////////////////////////
|
||||
/// \brief Destroy a context
|
||||
@@ -48,7 +48,7 @@ CSFML_API sfContext* sfContext_Create(void);
|
||||
/// \param context Context to destroy
|
||||
///
|
||||
////////////////////////////////////////////////////////////
|
||||
CSFML_API void sfContext_Destroy(sfContext* context);
|
||||
CSFML_WINDOW_API void sfContext_Destroy(sfContext* context);
|
||||
|
||||
////////////////////////////////////////////////////////////
|
||||
/// \brief Activate or deactivate explicitely a context
|
||||
@@ -57,7 +57,7 @@ CSFML_API void sfContext_Destroy(sfContext* context);
|
||||
/// \param active sfTrue to activate, sfFalse to deactivate
|
||||
///
|
||||
////////////////////////////////////////////////////////////
|
||||
CSFML_API void sfContext_SetActive(sfContext* context, sfBool active);
|
||||
CSFML_WINDOW_API void sfContext_SetActive(sfContext* context, sfBool active);
|
||||
|
||||
|
||||
#endif // SFML_CONTEXT_H
|
||||
Reference in new issue
Block a user