summaryrefslogtreecommitdiffstats
path: root/Mac/Modules/macspeechmodule.c
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>1997-05-07 15:46:31 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>1997-05-07 15:46:31 (GMT)
commiteeccca9bdc2c7f6f6059edb9cb58698cc8ce8c5a (patch)
tree9b22bfb60e2887d640b807d75fdc588349d6222d /Mac/Modules/macspeechmodule.c
parentd1d242ec846b99b3be95372093d10f5e3d37f9df (diff)
downloadcpython-eeccca9bdc2c7f6f6059edb9cb58698cc8ce8c5a.zip
cpython-eeccca9bdc2c7f6f6059edb9cb58698cc8ce8c5a.tar.gz
cpython-eeccca9bdc2c7f6f6059edb9cb58698cc8ce8c5a.tar.bz2
- Changed the m# format for PyArg_ParseTuple back to s#
- c2pstr has moved to a different include file
Diffstat (limited to 'Mac/Modules/macspeechmodule.c')
-rw-r--r--Mac/Modules/macspeechmodule.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Mac/Modules/macspeechmodule.c b/Mac/Modules/macspeechmodule.c
index 6bcc730..22fe99a 100644
--- a/Mac/Modules/macspeechmodule.c
+++ b/Mac/Modules/macspeechmodule.c
@@ -29,7 +29,7 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
#include "Speech.h"
#ifdef __MWERKS__
-#include <Strings.h>
+#include <TextUtils.h>
#define c2pstr C2PStr
#define p2cstr P2CStr
#else
@@ -150,7 +150,7 @@ sc_SpeakText(self, args)
char *str;
int len;
- if (!PyArg_Parse(args, "m#", &str, &len))
+ if (!PyArg_Parse(args, "s#", &str, &len))
return NULL;
if ( self->curtext ) {
StopSpeech(self->chan);