[Vm-dev] [commit][3652] Fix signatures in the unix MIDI plugins.
commits at squeakvm.org
commits at squeakvm.org
Sat Mar 26 02:06:20 UTC 2016
Revision: 3652
Author: eliot
Date: 2016-03-25 19:06:14 -0700 (Fri, 25 Mar 2016)
Log Message:
-----------
Fix signatures in the unix MIDI plugins.
Modified Paths:
--------------
trunk/platforms/unix/plugins/MIDIPlugin/sqUnixMIDIALSA.inc
trunk/platforms/unix/plugins/MIDIPlugin/sqUnixMIDINone.inc
Modified: trunk/platforms/unix/plugins/MIDIPlugin/sqUnixMIDIALSA.inc
===================================================================
--- trunk/platforms/unix/plugins/MIDIPlugin/sqUnixMIDIALSA.inc 2016-03-24 01:31:07 UTC (rev 3651)
+++ trunk/platforms/unix/plugins/MIDIPlugin/sqUnixMIDIALSA.inc 2016-03-26 02:06:14 UTC (rev 3652)
@@ -219,7 +219,7 @@
address. Copy at most length characters, and return the number of
characters copied. Fail if there is no port of the given number.
*/
-int sqMIDIGetPortName(int portNum, int namePtr, int length)
+int sqMIDIGetPortName(int portNum, char * namePtr, int length)
{
static char *userName[] = { "out", "in" };
@@ -404,7 +404,7 @@
than five bytes, since there must be enough room for the timestamp
plus at least one data byte.
*/
-int sqMIDIPortReadInto(int portNum, int count, int bufferPtr)
+int sqMIDIPortReadInto(int portNum, int count, char * bufferPtr)
{
debugf(("sqMIDIPortRead\n"));
success(false);
@@ -418,7 +418,7 @@
timestamped output queue, such as this one, always send the data
immediately; see sqMIDIHasBuffer.
*/
-int sqMIDIPortWriteFromAt(int portNum, int count, int bufferPtr, int time)
+int sqMIDIPortWriteFromAt(int portNum, int count, char * bufferPtr, int time)
{
if (portNum == 0)
{
Modified: trunk/platforms/unix/plugins/MIDIPlugin/sqUnixMIDINone.inc
===================================================================
--- trunk/platforms/unix/plugins/MIDIPlugin/sqUnixMIDINone.inc 2016-03-24 01:31:07 UTC (rev 3651)
+++ trunk/platforms/unix/plugins/MIDIPlugin/sqUnixMIDINone.inc 2016-03-26 02:06:14 UTC (rev 3652)
@@ -81,7 +81,7 @@
/* Copy the name of the given MIDI port into the string at the given
address. Copy at most length characters, and return the number of
characters copied. Fail if there is no port of the given number.*/
-int sqMIDIGetPortName(int portNum, int namePtr, int length)
+int sqMIDIGetPortName(int portNum, char * namePtr, int length)
{
success(false);
return 0;
@@ -125,7 +125,7 @@
available. Fail if the buffer is shorter than five bytes,
since there must be enough room for the timestamp plus at
least one data byte. */
-int sqMIDIPortReadInto(int portNum, int count, int bufferPtr)
+int sqMIDIPortReadInto(int portNum, int count, char * bufferPtr)
{
success(false);
return 0;
@@ -137,7 +137,7 @@
zero, then send the data immediately. Implementations that do
not support a timestamped output queue, such as this one, always
send the data immediately; see sqMIDIHasBuffer. */
-int sqMIDIPortWriteFromAt(int portNum, int count, int bufferPtr, int time)
+int sqMIDIPortWriteFromAt(int portNum, int count, char * bufferPtr, int time)
{
success(false);
return 0;
More information about the Vm-dev
mailing list