[prev in list] [next in list] [prev in thread] [next in thread] 

List:       r-devel
Subject:    Re: [Rd] usage of #import in grDevices/src/qdCocoa.h
From:       Gábor Csárdi <csardi.gabor () gmail ! com>
Date:       2020-10-19 6:10:28
Message-ID: CABtg=Kk1FP+w4vuFMpFhBDVP76iMtS8XU_ueiY87K44A-mmxPQ () mail ! gmail ! com
[Download RAW message or body]

On Mon, Oct 19, 2020 at 5:02 AM Michael Chirico
<michaelchirico4@gmail.com> wrote:
>
> I happened to notice that this header file uses
>
> #import <Cocoa/Cocoa.h>
>
> This is the first time I came across the preprocessor directive #import;
> the first thing I found about it is this Q&A suggesting it's not portable
> nor standard C:

The Cocoa API is in Objective-C and #import is part of Objective-C.

[...]
> I don't see much in the way of relevant documentation for Cocoa besides
> stuff like this page from 2001:

Apple has the Cocoa docs, e.g. at
https://developer.apple.com/documentation/foundation

Gabor

[...]

______________________________________________
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic