LinkAnchor.cpp 747 B

123456789
  1. // The first object of every LYNX plugin binary built by CMake (round 190sh, cmake/LynxPlugins.cmake): it asks the linker for
  2. // the shared engine before the binary's own entry object (Vst3Entry.cpp, Lv2Entry.cpp or ClapEntry.cpp), which is linked last.
  3. // So the engine is laid out the same way in the CLAP, every VST3 and every LV2, and the release archives' solid xz stream
  4. // finds most of each plugin file in the ones before it. Nothing calls this: --gc-sections / -dead_strip drop it again.
  5. namespace juce { class AudioProcessor; }
  6. namespace lynx::plugexport { juce::AudioProcessor* makeProcessorAt (int catalogIndex); } // plugin/ExportProcessor.h
  7. juce::AudioProcessor* (*lynxPluginLinkAnchor) (int) = &lynx::plugexport::makeProcessorAt;