mirror of
https://github.com/love2d/love.git
synced 2026-08-16 00:02:12 +02:00
Merge branch 'main' into 12.0-development
This commit is contained in:
+3
-1
@@ -102,8 +102,10 @@
|
||||
#endif
|
||||
|
||||
// DLL-stuff.
|
||||
#ifdef LOVE_WINDOWS
|
||||
#if defined(_MSC_VER)
|
||||
# define LOVE_EXPORT __declspec(dllexport)
|
||||
#elif defined(__GNUC__) || defined(__clang__)
|
||||
# define LOVE_EXPORT __attribute__((visibility("default")))
|
||||
#else
|
||||
# define LOVE_EXPORT
|
||||
#endif
|
||||
|
||||
+2
-2
@@ -38,13 +38,13 @@ namespace macos
|
||||
* in the main bundle (love.app.)
|
||||
* Returns an empty string if no love file is found.
|
||||
**/
|
||||
std::string getLoveInResources();
|
||||
LOVE_EXPORT std::string getLoveInResources();
|
||||
|
||||
/**
|
||||
* Checks for drop-file events. Returns the filepath if an event occurred, or
|
||||
* an empty string otherwise.
|
||||
**/
|
||||
std::string checkDropEvents();
|
||||
LOVE_EXPORT std::string checkDropEvents();
|
||||
|
||||
/**
|
||||
* Bounce the dock icon, if the app isn't in the foreground.
|
||||
|
||||
Reference in New Issue
Block a user