mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Windows: Fixed a VST2 compilation error in VS2013
This commit is contained in:
parent
d51a44a58e
commit
5007e2bb98
1 changed files with 6 additions and 5 deletions
|
|
@ -56,12 +56,13 @@ struct VSTCallbackHandler
|
|||
void* ptr,
|
||||
float opt) = 0;
|
||||
|
||||
// Note: VS2013 prevents a "using" declaration here
|
||||
/** The host callback function type. */
|
||||
using VstHostCallbackType = pointer_sized_int (int32 opcode,
|
||||
int32 index,
|
||||
pointer_sized_int value,
|
||||
void* ptr,
|
||||
float opt);
|
||||
typedef pointer_sized_int (VstHostCallbackType) (int32 opcode,
|
||||
int32 index,
|
||||
pointer_sized_int value,
|
||||
void* ptr,
|
||||
float opt);
|
||||
|
||||
/** This is called once by the VST plug-in wrapper after its constructor.
|
||||
You can use the supplied function to query the VST host.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue