Merge branch 'main' into 12.0-development

This commit is contained in:
Sasha Szpakowski
2022-12-29 12:12:28 -04:00
5 changed files with 15 additions and 3 deletions
+3 -1
View File
@@ -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
View File
@@ -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.