Mark the importer API with extern C
This commit is contained in:
parent
6c88b3f663
commit
7f49eab79f
1 changed files with 8 additions and 0 deletions
|
|
@ -7,6 +7,10 @@
|
|||
#pragma once
|
||||
#include <sfizz.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/**
|
||||
* @brief Loads or imports an instrument file.
|
||||
*
|
||||
|
|
@ -28,3 +32,7 @@
|
|||
* - @b OFF: the function cannot be invoked while a thread is calling @b RT functions
|
||||
*/
|
||||
bool sfizz_load_or_import_file(sfizz_synth_t* synth, const char* path, const char** format);
|
||||
|
||||
#ifdef __cplusplus
|
||||
} // extern "C"
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue