mirror of
https://github.com/geode-sdk/geode.git
synced 2024-11-14 19:15:05 -05:00
*crying anime girl* babe please add GEODE_DLL to stuff you add in SDK
*chad* no
This commit is contained in:
parent
2a15d69f48
commit
2d4899c8d7
1 changed files with 12 additions and 12 deletions
|
@ -20,19 +20,19 @@ namespace geode {
|
|||
class Mod;
|
||||
}
|
||||
|
||||
std::ostream& operator<<(std::ostream& os, geode::Mod* mod);
|
||||
std::ostream& operator<<(std::ostream& os, cocos2d::CCObject* obj);
|
||||
std::ostream& operator<<(std::ostream& os, cocos2d::CCArray* obj);
|
||||
std::ostream& operator<<(std::ostream& os, cocos2d::CCPoint const& pos);
|
||||
std::ostream& operator<<(std::ostream& os, cocos2d::CCSize const& size);
|
||||
std::ostream& operator<<(std::ostream& os, cocos2d::CCRect const& rect);
|
||||
GEODE_DLL std::ostream& operator<<(std::ostream& os, geode::Mod* mod);
|
||||
GEODE_DLL std::ostream& operator<<(std::ostream& os, cocos2d::CCObject* obj);
|
||||
GEODE_DLL std::ostream& operator<<(std::ostream& os, cocos2d::CCArray* obj);
|
||||
GEODE_DLL std::ostream& operator<<(std::ostream& os, cocos2d::CCPoint const& pos);
|
||||
GEODE_DLL std::ostream& operator<<(std::ostream& os, cocos2d::CCSize const& size);
|
||||
GEODE_DLL std::ostream& operator<<(std::ostream& os, cocos2d::CCRect const& rect);
|
||||
|
||||
namespace geode::log {
|
||||
#pragma warning(disable: 4251)
|
||||
|
||||
using log_clock = std::chrono::system_clock;
|
||||
|
||||
struct LogMetadata {
|
||||
struct GEODE_DLL LogMetadata {
|
||||
std::string m_repr;
|
||||
LogMetadata(std::string const& r) : m_repr(r) {}
|
||||
LogMetadata() {}
|
||||
|
@ -120,19 +120,19 @@ namespace geode::log {
|
|||
ModMeta(Mod* m) : m_mod(m) {}
|
||||
ModMeta(std::string const& r, Mod* m) : m_mod(m), NoMetadata(r) {}
|
||||
};
|
||||
struct CCObjectMeta : public NoMetadata {
|
||||
struct GEODE_DLL CCObjectMeta : public NoMetadata {
|
||||
cocos2d::CCObject* m_obj;
|
||||
CCObjectMeta(cocos2d::CCObject* obj);
|
||||
CCObjectMeta(std::string const& r, cocos2d::CCObject* obj);
|
||||
~CCObjectMeta();
|
||||
};
|
||||
struct CCArrayMeta : public NoMetadata {
|
||||
struct GEODE_DLL CCArrayMeta : public NoMetadata {
|
||||
cocos2d::CCArray* m_arr;
|
||||
CCArrayMeta(cocos2d::CCArray* arr);
|
||||
CCArrayMeta(std::string const& r, cocos2d::CCArray* arr);
|
||||
~CCArrayMeta();
|
||||
};
|
||||
}
|
||||
geode::log::Log& operator<<(geode::log::Log&, geode::Mod*);
|
||||
geode::log::Log& operator<<(geode::log::Log&, cocos2d::CCObject*);
|
||||
geode::log::Log& operator<<(geode::log::Log&, cocos2d::CCArray*);
|
||||
GEODE_DLL geode::log::Log& operator<<(geode::log::Log&, geode::Mod*);
|
||||
GEODE_DLL geode::log::Log& operator<<(geode::log::Log&, cocos2d::CCObject*);
|
||||
GEODE_DLL geode::log::Log& operator<<(geode::log::Log&, cocos2d::CCArray*);
|
||||
|
|
Loading…
Reference in a new issue