🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.next.programmer
Article #520

Calling methods from procedures?

#520
From: jrscs
Date: Mon, 10 Aug 1992 14:51
10 lines
906 bytes
Can anyone offer some help in solving the following problem:

   From a regular C procedure p located in a regular C file f1.c, I would
   like to "call" an Obj-C instance method m located in the file f2.[hm].
   Ideally, I would like to say [ self m ] where self is the object that
   I would like to message; but, of course, self is not known in f1.c.  In
   fact, I couldn't even get self to be recognized in some regular C
   procedures in f2.m.  So, is there an easy work-around to this problem ?

Thanks in advance.
Technical Details
Message-ID: <1992Aug10.145106.2021@cs.uno.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!sun-barr!ames!tulane!cs.cs.uno.edu!uno.edu!JRSCS

Show Full Headers
Complete Article Headers
Newsgroups: comp.sys.next.programmer
Path: arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!sun-barr!ames!tulane!cs.cs.uno.edu!uno.edu!JRSCS
From: jrscs@uno.edu
Subject: Calling methods from procedures?
Message-ID: <1992Aug10.145106.2021@cs.uno.edu>
Sender: news@cs.uno.edu
Reply-To: jrscs@uno.edu
Organization: University of New Orleans
Date: Mon, 10 Aug 1992 14:51:06 GMT
Lines: 10