NO-OP sort class-keys (for windows builds, luabridge)
This commit is contained in:
parent
a51daedbe6
commit
974ecc0292
|
@ -75,7 +75,7 @@
|
||||||
*
|
*
|
||||||
* Really!! A static function with a static variable in a library header
|
* Really!! A static function with a static variable in a library header
|
||||||
* should never ever be replicated, even if it is a template.
|
* should never ever be replicated, even if it is a template.
|
||||||
* But then again this is windows... what else can go wrong.
|
* But then again this is windows... what else can go wrong ?!
|
||||||
*/
|
*/
|
||||||
|
|
||||||
template <class T>
|
template <class T>
|
||||||
|
@ -112,16 +112,11 @@ luabridge::getIdentityKey ()
|
||||||
/* ...and this is the ugly part of it.
|
/* ...and this is the ugly part of it.
|
||||||
*
|
*
|
||||||
* We need to foward declare classes from gtk2_ardour
|
* We need to foward declare classes from gtk2_ardour
|
||||||
* end explicily list classes which are used by gtk2_ardour's bindings.
|
* AND explicily list classes which are used by gtk2_ardour's bindings.
|
||||||
*
|
*
|
||||||
* This is needed because some of the GUI classes use objects from libardour
|
* This is required because some of the GUI classes use objects from libardour
|
||||||
* as function parameters and the .exe would re-create symbols for libardour
|
* as function parameters or return values and the .exe would re-create
|
||||||
* objects.
|
* symbols for libardour objects.
|
||||||
*
|
|
||||||
* Classes which don't use libardour symbols could be moved to
|
|
||||||
* gtk2_ardour/luainstance.cc, but keeping this here reduces code
|
|
||||||
* duplication and does not give the compiler a chance to even think
|
|
||||||
* about replicating the symbols.
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#define CLASSKEYS(CLS) \
|
#define CLASSKEYS(CLS) \
|
||||||
|
@ -135,71 +130,75 @@ luabridge::getIdentityKey ()
|
||||||
template void const* luabridge::ClassInfo< CLS >::getClassKey(); \
|
template void const* luabridge::ClassInfo< CLS >::getClassKey(); \
|
||||||
template void const* luabridge::ClassInfo< CLS >::getConstKey();
|
template void const* luabridge::ClassInfo< CLS >::getConstKey();
|
||||||
|
|
||||||
|
CLASSINFO(ArdourMarker);
|
||||||
CLASSINFO(MarkerSelection);
|
CLASSINFO(MarkerSelection);
|
||||||
|
CLASSINFO(PublicEditor);
|
||||||
|
CLASSINFO(RegionSelection);
|
||||||
|
CLASSINFO(Selection);
|
||||||
|
CLASSINFO(TimeSelection);
|
||||||
CLASSINFO(TrackSelection);
|
CLASSINFO(TrackSelection);
|
||||||
CLASSINFO(TrackViewList);
|
CLASSINFO(TrackViewList);
|
||||||
CLASSINFO(TimeSelection);
|
|
||||||
CLASSINFO(RegionSelection);
|
|
||||||
CLASSINFO(PublicEditor);
|
|
||||||
CLASSINFO(Selection);
|
|
||||||
CLASSINFO(ArdourMarker);
|
|
||||||
|
|
||||||
namespace LuaCairo {
|
|
||||||
class ImageSurface;
|
|
||||||
class PangoLayout;
|
|
||||||
}
|
|
||||||
CLASSKEYS(LuaCairo::ImageSurface);
|
|
||||||
CLASSKEYS(LuaCairo::PangoLayout);
|
|
||||||
|
|
||||||
namespace Cairo {
|
|
||||||
class Context;
|
|
||||||
}
|
|
||||||
CLASSKEYS(Cairo::Context);
|
|
||||||
CLASSKEYS(std::vector<double>);
|
|
||||||
CLASSKEYS(std::list<ArdourMarker*>);
|
|
||||||
CLASSKEYS(std::bitset<47ul>); // LuaSignal::LAST_SIGNAL
|
CLASSKEYS(std::bitset<47ul>); // LuaSignal::LAST_SIGNAL
|
||||||
|
|
||||||
|
CLASSKEYS(void);
|
||||||
|
CLASSKEYS(float);
|
||||||
|
CLASSKEYS(unsigned char);
|
||||||
|
|
||||||
CLASSKEYS(ArdourMarker*);
|
CLASSKEYS(ArdourMarker*);
|
||||||
CLASSKEYS(ARDOUR::RouteGroup);
|
|
||||||
CLASSKEYS(ARDOUR::LuaProc);
|
CLASSKEYS(ARDOUR::AudioEngine);
|
||||||
CLASSKEYS(ARDOUR::DataType);
|
|
||||||
CLASSKEYS(ARDOUR::ChanCount);
|
|
||||||
CLASSKEYS(boost::shared_ptr<ARDOUR::Processor>);
|
|
||||||
CLASSKEYS(ARDOUR::ParameterDescriptor);
|
|
||||||
CLASSKEYS(boost::shared_ptr<ARDOUR::AutomationList>);
|
|
||||||
CLASSKEYS(boost::shared_ptr<Evoral::ControlList>);
|
|
||||||
CLASSKEYS(ARDOUR::LuaOSC::Address);
|
|
||||||
CLASSKEYS(ARDOUR::Session);
|
|
||||||
CLASSKEYS(ARDOUR::PeakMeter);
|
|
||||||
CLASSKEYS(ARDOUR::BufferSet);
|
CLASSKEYS(ARDOUR::BufferSet);
|
||||||
|
CLASSKEYS(ARDOUR::ChanCount);
|
||||||
CLASSKEYS(ARDOUR::ChanMapping);
|
CLASSKEYS(ARDOUR::ChanMapping);
|
||||||
CLASSKEYS(ARDOUR::FluidSynth);
|
|
||||||
CLASSKEYS(ARDOUR::DSP::DspShm);
|
CLASSKEYS(ARDOUR::DSP::DspShm);
|
||||||
CLASSKEYS(ARDOUR::LuaTableRef);
|
CLASSKEYS(ARDOUR::DataType);
|
||||||
CLASSKEYS(PBD::Configuration);
|
CLASSKEYS(ARDOUR::FluidSynth);
|
||||||
CLASSKEYS(ARDOUR::PresentationInfo);
|
|
||||||
CLASSKEYS(ARDOUR::SessionConfiguration);
|
|
||||||
CLASSKEYS(PBD::ID);
|
|
||||||
CLASSKEYS(ARDOUR::Location);
|
CLASSKEYS(ARDOUR::Location);
|
||||||
CLASSKEYS(ARDOUR::PluginInfo);
|
CLASSKEYS(ARDOUR::LuaAPI::Vamp);
|
||||||
|
CLASSKEYS(ARDOUR::LuaOSC::Address);
|
||||||
|
CLASSKEYS(ARDOUR::LuaProc);
|
||||||
|
CLASSKEYS(ARDOUR::LuaTableRef);
|
||||||
CLASSKEYS(ARDOUR::MonitorProcessor);
|
CLASSKEYS(ARDOUR::MonitorProcessor);
|
||||||
|
CLASSKEYS(ARDOUR::RouteGroup);
|
||||||
|
CLASSKEYS(ARDOUR::ParameterDescriptor);
|
||||||
|
CLASSKEYS(ARDOUR::PeakMeter);
|
||||||
|
CLASSKEYS(ARDOUR::PluginInfo);
|
||||||
CLASSKEYS(ARDOUR::Plugin::PresetRecord);
|
CLASSKEYS(ARDOUR::Plugin::PresetRecord);
|
||||||
CLASSKEYS(std::vector<ARDOUR::Plugin::PresetRecord>);
|
|
||||||
CLASSKEYS(PBD::PropertyChange);
|
|
||||||
CLASSKEYS(std::vector<std::string>);
|
|
||||||
CLASSKEYS(std::list<boost::shared_ptr<ARDOUR::Route> >);
|
|
||||||
CLASSKEYS(std::list<boost::shared_ptr<ARDOUR::Port> >);
|
|
||||||
CLASSKEYS(std::vector<boost::shared_ptr<ARDOUR::Processor> >);
|
|
||||||
CLASSKEYS(boost::shared_ptr<ARDOUR::PluginInfo>);
|
|
||||||
CLASSKEYS(boost::shared_ptr<ARDOUR::Region>);
|
|
||||||
CLASSKEYS(boost::weak_ptr<ARDOUR::Route>);
|
|
||||||
CLASSKEYS(std::list<boost::shared_ptr<ARDOUR::Region> >);
|
|
||||||
CLASSKEYS(std::list<ARDOUR::AudioRange>);
|
|
||||||
CLASSKEYS(Evoral::Beats);
|
|
||||||
CLASSKEYS(ARDOUR::PortEngine);
|
CLASSKEYS(ARDOUR::PortEngine);
|
||||||
CLASSKEYS(ARDOUR::PortManager);
|
CLASSKEYS(ARDOUR::PortManager);
|
||||||
CLASSKEYS(ARDOUR::AudioEngine);
|
CLASSKEYS(ARDOUR::PresentationInfo);
|
||||||
|
CLASSKEYS(ARDOUR::Session);
|
||||||
|
CLASSKEYS(ARDOUR::SessionConfiguration);
|
||||||
|
|
||||||
|
CLASSKEYS(PBD::ID);
|
||||||
|
CLASSKEYS(PBD::Configuration);
|
||||||
|
CLASSKEYS(PBD::PropertyChange);
|
||||||
|
|
||||||
|
CLASSKEYS(Evoral::Beats);
|
||||||
|
|
||||||
|
CLASSKEYS(std::vector<std::string>);
|
||||||
|
CLASSKEYS(std::vector<float>);
|
||||||
|
CLASSKEYS(std::vector<float*>);
|
||||||
|
CLASSKEYS(std::vector<double>);
|
||||||
|
|
||||||
|
CLASSKEYS(std::vector<ARDOUR::Plugin::PresetRecord>);
|
||||||
|
CLASSKEYS(std::vector<boost::shared_ptr<ARDOUR::Processor> >);
|
||||||
|
|
||||||
|
CLASSKEYS(std::list<ArdourMarker*>);
|
||||||
|
CLASSKEYS(std::list<ARDOUR::AudioRange>);
|
||||||
|
CLASSKEYS(std::list<boost::shared_ptr<ARDOUR::Port> >);
|
||||||
|
CLASSKEYS(std::list<boost::shared_ptr<ARDOUR::Region> >);
|
||||||
|
CLASSKEYS(std::list<boost::shared_ptr<ARDOUR::Route> >);
|
||||||
|
|
||||||
|
CLASSKEYS(boost::shared_ptr<ARDOUR::AutomationList>);
|
||||||
|
CLASSKEYS(boost::shared_ptr<ARDOUR::PluginInfo>);
|
||||||
|
CLASSKEYS(boost::shared_ptr<ARDOUR::Processor>);
|
||||||
|
CLASSKEYS(boost::shared_ptr<ARDOUR::Region>);
|
||||||
|
CLASSKEYS(boost::shared_ptr<Evoral::ControlList>);
|
||||||
|
|
||||||
|
CLASSKEYS(boost::weak_ptr<ARDOUR::Route>);
|
||||||
|
|
||||||
CLASSKEYS(ARDOUR::LuaAPI::Vamp);
|
|
||||||
CLASSKEYS(Vamp::RealTime);
|
CLASSKEYS(Vamp::RealTime);
|
||||||
CLASSKEYS(Vamp::PluginBase);
|
CLASSKEYS(Vamp::PluginBase);
|
||||||
CLASSKEYS(Vamp::PluginBase::ParameterDescriptor);
|
CLASSKEYS(Vamp::PluginBase::ParameterDescriptor);
|
||||||
|
@ -210,9 +209,17 @@ CLASSKEYS(Vamp::Plugin::OutputList);
|
||||||
CLASSKEYS(Vamp::Plugin::FeatureList);
|
CLASSKEYS(Vamp::Plugin::FeatureList);
|
||||||
CLASSKEYS(Vamp::Plugin::FeatureSet);
|
CLASSKEYS(Vamp::Plugin::FeatureSet);
|
||||||
|
|
||||||
CLASSKEYS(void);
|
namespace LuaCairo {
|
||||||
CLASSKEYS(float);
|
class ImageSurface;
|
||||||
CLASSKEYS(unsigned char);
|
class PangoLayout;
|
||||||
|
}
|
||||||
|
namespace Cairo {
|
||||||
|
class Context;
|
||||||
|
}
|
||||||
|
|
||||||
|
CLASSKEYS(Cairo::Context);
|
||||||
|
CLASSKEYS(LuaCairo::ImageSurface);
|
||||||
|
CLASSKEYS(LuaCairo::PangoLayout);
|
||||||
|
|
||||||
#endif // end windows special case
|
#endif // end windows special case
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user