From eec761ab9e0e72d8ccc51ccdb6ddbfea114bdc24 Mon Sep 17 00:00:00 2001 From: Yvan Grabit Date: Mon, 20 Nov 2023 17:54:16 +0100 Subject: [PATCH] [fix] wrong upper case in bundleEntry/bundleExit on macOS --- .../VST+Module+Architecture/Index.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/pages/Technical+Documentation/VST+Module+Architecture/Index.md b/src/pages/Technical+Documentation/VST+Module+Architecture/Index.md index af183f39..8747d4db 100644 --- a/src/pages/Technical+Documentation/VST+Module+Architecture/Index.md +++ b/src/pages/Technical+Documentation/VST+Module+Architecture/Index.md @@ -104,11 +104,11 @@ In addition to the **GetPluginFactory** function the plug-in may has to export a >As *Windows* already has this feature (see [DllMain](https://docs.microsoft.com/en-us/cpp/build/run-time-library-behavior?view=msvc-170) in Microsofts documentation) the above functions are optional. >**On macOS**\ ->On *macOS* the entry/exit functions are named **BundleEntry** / **BundleExit** and are ***required!*** +>On *macOS* the entry/exit functions are named **bundleEntry** / **bundleExit** and are ***required!*** > ->A plug-in must export these functions and a host has to call the **BundleEntry** function directly after loading the plug-in via *CFBundleLoadExecutable* and before calling **GetPluginFactory**. +>A plug-in must export these functions and a host has to call the **bundleEntry** function directly after loading the plug-in via *CFBundleLoadExecutable* and before calling **GetPluginFactory**. > ->The **BundleExit** function must be called before the plug-in is unloaded or on program termination. +>The **bundleExit** function must be called before the plug-in is unloaded or on program termination. > >As *macOS* does not have a standard entry function when loading a bundle the above functions are required and a host has to reject plug-ins not exporting these functions.