home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!vnet.ibm.com
- From: dmm@vnet.ibm.com (dave)
- Message-ID: <19920727.075255.593@almaden.ibm.com>
- Date: Mon, 27 Jul 92 10:49:52 EDT
- Newsgroups: comp.os.os2.programmer
- Subject: Re: Q: Using Smalltalk/V-PM and IBM C Set/2
- Organization: IBM Canada Lab
- News-Software: UReply 3.0
- X-X-From: dmm@vnet.ibm.com (Dave Mooney)
- References: <712014481snx@feki.toppoint.de>
- Lines: 20
-
- In <712014481snx@feki.toppoint.de> Marten Feldtmann writes:
- > I've some problems using IBM C Set/2 and Smalltalk-V/PM together:
- > Code from 'C'
- > short _Far16 _Pascal TESTROUTINE( recvr)
- > struct object * _Far16 recvr;
- > { return recvr->header.ObjectSize;
- > }
-
- That _Far16 recvr should probably be _Seg16 recvr . And just for
- good measure, try writing your prototype as ANSI-style, rather than K&R-
- style:
-
- short _Far16 _Pascal TESTROUTINE( struct object * _Seg16 recvr ) { }
-
- dave
-
- -------------------------------------------------------------------------
- Dave Mooney dmm@vnet.ibm.com
- C Set/2 Development, IBM Canada Lab, 844 Don Mills Rd, Toronto, Ontario
- "If you've got a blacklist, I want to be on it"
-