Kaydet (Commit) 4410d571 authored tarafından Guido van Rossum's avatar Guido van Rossum

ported to MPW/SC

üst 7fb1dcc4
/*********************************************************** /***********************************************************
Copyright 1991, 1992, 1993, 1994 by Stichting Mathematisch Centrum, Copyright 1991-1995 by Stichting Mathematisch Centrum, Amsterdam,
Amsterdam, The Netherlands. The Netherlands.
All Rights Reserved All Rights Reserved
...@@ -27,15 +27,15 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. ...@@ -27,15 +27,15 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
#include "allobjects.h" #include "allobjects.h"
#include "modsupport.h" /* For getargs() etc. */
#include <stdio.h> #include "macglue.h"
#include <CommResources.h> #include <CommResources.h>
#include <Connections.h> #include <Connections.h>
#include <ToolUtils.h> #include <ToolUtils.h>
#include <OSUtils.h> #include <OSUtils.h>
/* #include <pascal.h> */
#ifndef __MWERKS__ #ifndef HAVE_UNIVERSAL_HEADERS
#define ConnectionCompletionUPP ProcPtr #define ConnectionCompletionUPP ProcPtr
#define ConnectionChooseIdleUPP ProcPtr #define ConnectionChooseIdleUPP ProcPtr
#define NewConnectionCompletionProc(x) (x) #define NewConnectionCompletionProc(x) (x)
...@@ -445,7 +445,7 @@ ctbcm_setattr(self, name, v) ...@@ -445,7 +445,7 @@ ctbcm_setattr(self, name, v)
return 0; return 0;
} }
static typeobject ctbcmtype = { statichere typeobject ctbcmtype = {
OB_HEAD_INIT(&Typetype) OB_HEAD_INIT(&Typetype)
0, /*ob_size*/ 0, /*ob_size*/
"ctbcm", /*tp_name*/ "ctbcm", /*tp_name*/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment