[Vm-dev] [commit][3600] The MIDI plugin must declare pointer args as pointer args not ints.

commits at squeakvm.org commits at squeakvm.org
Sun Feb 14 23:00:57 UTC 2016


Revision: 3600
Author:   eliot
Date:     2016-02-14 15:00:54 -0800 (Sun, 14 Feb 2016)
Log Message:
-----------
The MIDI plugin must declare pointer args as pointer args not ints.

Modified Paths:
--------------
    trunk/platforms/Cross/plugins/MIDIPlugin/MIDIPlugin.h

Property Changed:
----------------
    trunk/platforms/Cross/plugins/sqPluginsSCCSVersion.h

Modified: trunk/platforms/Cross/plugins/MIDIPlugin/MIDIPlugin.h
===================================================================
--- trunk/platforms/Cross/plugins/MIDIPlugin/MIDIPlugin.h	2016-02-14 21:23:37 UTC (rev 3599)
+++ trunk/platforms/Cross/plugins/MIDIPlugin/MIDIPlugin.h	2016-02-14 23:00:54 UTC (rev 3600)
@@ -7,10 +7,10 @@
 int sqMIDIGetClock(void);
 int sqMIDIGetPortCount(void);
 int sqMIDIGetPortDirectionality(int portNum);
-int sqMIDIGetPortName(int portNum, int namePtr, int length);
+int sqMIDIGetPortName(int portNum, char *namePtr, int length);
 int sqMIDIClosePort(int portNum);
 int sqMIDIOpenPort(int portNum, int readSemaIndex, int interfaceClockRate);
 int sqMIDIParameterSet(int whichParameter, int newValue);
 int sqMIDIParameterGet(int whichParameter);
-int sqMIDIPortReadInto(int portNum, int count, int bufferPtr);
-int sqMIDIPortWriteFromAt(int portNum, int count, int bufferPtr, int time);
+int sqMIDIPortReadInto(int portNum, int count, char * bufferPtr);
+int sqMIDIPortWriteFromAt(int portNum, int count, char * bufferPtr, int time);


Property changes on: trunk/platforms/Cross/plugins/sqPluginsSCCSVersion.h
___________________________________________________________________
Modified: checkindate
   - Wed Feb 10 12:59:40 PST 2016
   + Sun Feb 14 14:59:53 PST 2016



More information about the Vm-dev mailing list