diff options
author | Chris Xiong <chirs241097@gmail.com> | 2017-02-10 00:00:57 +0800 |
---|---|---|
committer | Chris Xiong <chirs241097@gmail.com> | 2017-02-10 00:00:57 +0800 |
commit | 70f0007154992c0bc89e11af4fe7dcc2c493aac3 (patch) | |
tree | 67e673820a3be04ccb2aca6fb29ed2e2a9578af8 /doc/APIdoc.md | |
parent | 620aad63042e0f397ea6691fe92ac40fcc6b6fed (diff) | |
download | QMidiPlayer-70f0007154992c0bc89e11af4fe7dcc2c493aac3.tar.xz |
Fix building on Windows.
Behavior changes:
1. DnD into the main window now causes the dropped
file to play.
2. Switch back to w32usleep to increase bpm accuracy.
3. Scan for plugins in application folder (in Windows),
not in the working directory.
Diffstat (limited to 'doc/APIdoc.md')
-rw-r--r-- | doc/APIdoc.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/APIdoc.md b/doc/APIdoc.md index 5b69b5e..bc5e210 100644 --- a/doc/APIdoc.md +++ b/doc/APIdoc.md @@ -19,7 +19,7 @@ First of all, you should make your library distinct from other libraries that ar it by exporting the symbols `qmpPluginGetInterface` and `qmpPluginGetAPIRev`. Specifically, what you should do is to add the following snipplet to somewhere of your code: -``` +```C++ extern "C"{ EXPORTSYM qmpPluginIntf* qmpPluginGetInterface(qmpPluginAPI* api) //semicolon or implementation here. |