aboutsummaryrefslogtreecommitdiff
path: root/pd/portmidi_osx/portmidi.h
diff options
context:
space:
mode:
authorGuenter Geiger <ggeiger@users.sourceforge.net>2004-02-02 11:28:02 +0000
committerGuenter Geiger <ggeiger@users.sourceforge.net>2004-02-02 11:28:02 +0000
commitae6b5d89ea93b95c2990895077cf5e8f0bba9ad9 (patch)
tree1e7570f11ac688e94342968e90301c4684e61193 /pd/portmidi_osx/portmidi.h
parentf26399eba6ee6ce9eb7bae9a4b60a90dc2ebca94 (diff)
This commit was generated by cvs2svn to compensate for changes in r1301,
which included commits to RCS files with non-trunk default branches. svn path=/trunk/; revision=1302
Diffstat (limited to 'pd/portmidi_osx/portmidi.h')
-rw-r--r--pd/portmidi_osx/portmidi.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/pd/portmidi_osx/portmidi.h b/pd/portmidi_osx/portmidi.h
index 3e648c90..1264b6f5 100644
--- a/pd/portmidi_osx/portmidi.h
+++ b/pd/portmidi_osx/portmidi.h
@@ -43,6 +43,9 @@ extern "C" {
* prevent opening an input as output and vice versa.
* Added comments and documentation.
* Implemented Pm_Terminate().
+ *
+ * 27Jun03 X. J. Scott (XJS)
+ * - Adding void arg to Pm_GetHostError() to stop compiler gripe.
*/
#ifndef FALSE
@@ -88,7 +91,7 @@ PmError Pm_Terminate( void );
number, call Pm_GetHostError().
This can be called after a function returns a PmError equal to pmHostError.
*/
-int Pm_GetHostError();
+int Pm_GetHostError( void ); /* xjs - void param to stop compiler gripe */
/*
Translate the error number into a human readable message.
@@ -111,8 +114,8 @@ typedef int PmDeviceID;
typedef struct {
int structVersion;
- const char *interf;
- const char *name;
+ char const *interf;
+ char const *name;
int input; /* true iff input is available */
int output; /* true iff output is available */
} PmDeviceInfo;