[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ObjC2 includes

From: Stefan Bidi
Subject: Re: ObjC2 includes
Date: Fri, 15 Jul 2011 16:01:05 -0500

So... what is the correct way?  My version of libobjc doesn't include a <objc/runtime.h>, and apparently <ObjectiveC2/runtime.h> isn't available everywhere.

On Fri, Jul 15, 2011 at 7:43 AM, Richard Frith-Macdonald <address@hidden> wrote:

On 15 Jul 2011, at 13:26, Stefan Bidi wrote:

> What is the correct include files to get the objc2 functions?  I had been including ObjectiveC2/runtime.h but saw where David just changed that to GNUstep/preface.h because it does not exist everywhere.  The problem is that now I'm getting undefined function warning for all the objc2 functions used (objc_getClass, sel_registerName, class_getMethodImplementation).

The correct file for the runtime is runtime.h

I keep meaning to get round to removing preface.h completely, just haven't actually done it yet.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]