Skip to content

Commit

Permalink
Pull request #91: [fix] wrong upper case in bundleEntry/bundleExit on…
Browse files Browse the repository at this point in the history
… macOS

Merge in VSTSDK/vst3_dev_portal from deinitializer-names-#119 to main

* commit 'eec761ab9e0e72d8ccc51ccdb6ddbfea114bdc24':
  [fix] wrong upper case in bundleEntry/bundleExit on macOS
  • Loading branch information
ygrabit committed Nov 20, 2023
2 parents 55195f6 + eec761a commit 7eef91f
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 7eef91f

Please sign in to comment.