aboutsummaryrefslogtreecommitdiff
path: root/pd/portmidi_osx/porttime.h
diff options
context:
space:
mode:
Diffstat (limited to 'pd/portmidi_osx/porttime.h')
-rw-r--r--pd/portmidi_osx/porttime.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/pd/portmidi_osx/porttime.h b/pd/portmidi_osx/porttime.h
index 8592106d..fb57fe7d 100644
--- a/pd/portmidi_osx/porttime.h
+++ b/pd/portmidi_osx/porttime.h
@@ -1,4 +1,7 @@
-/* porttime.h -- portable interface to millisecond timer */
+/* porttime.h -- portable interface to millisecond timer
+ *
+ * 27Jun02 XJS - altered type of Pt_Time() (in porttime.h & portmidi.c) so it matches PmTimeProcPtr
+ */
/* Should there be a way to choose the source of time here? */
@@ -21,9 +24,9 @@ typedef int (PtCallback)( PtTimestamp timestamp, void *userData );
PtError Pt_Start(int resolution, PtCallback *callback, void *userData);
-PtError Pt_Stop();
-int Pt_Started();
-PtTimestamp Pt_Time();
+PtError Pt_Stop(void); // xjs, added void
+int Pt_Started(void); // xjs, added void
+PtTimestamp Pt_Time(void *time_info); /* xjs - added void *time_info so this f() is a PmTimeProcPtr, defined in portmidi.h */
#ifdef __cplusplus
}