🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.os2.programmer
Article #529

Re: Q: Using Smalltalk/V-PM and IBM C Set/2

#529
From: Marten Feldtmann
Date: Tue, 28 Jul 1992 07:12
28 lines
1302 bytes
dmm@vnet.ibm.com writes in article <19920727.075255.593@almaden.ibm.com>:

> 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 ) { }
> 

 Yes, that's it and the Smalltalk code should look like:

 <api: 'TESTROUTINE' self short >
                     ^^^^

 MF


--
Marten Feldtmann                         E-Mail: marten@tpki.toppoint.de
2300 Kiel 14,    Kieler Str. 29,   Tel.: 0431-731916,   FAX: 0431-737677
Technical Details
Message-ID: <712307536snx@feki.toppoint.de>
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!Germany.EU.net!uniol!tpki.toppoint.de!feki!marten
References: <19920727.075255.593@almaden.ibm.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!Germany.EU.net!uniol!tpki.toppoint.de!feki!marten
From: marten@feki.toppoint.de (Marten Feldtmann)
Newsgroups: comp.os.os2.programmer
Subject: Re: Q: Using Smalltalk/V-PM and IBM C Set/2
Distribution: world
Message-ID: <712307536snx@feki.toppoint.de>
References: <19920727.075255.593@almaden.ibm.com>
Date: Tue, 28 Jul 92 07:12:16 GMT
Organization: Private Site
Lines: 29