GNU Pascal Homepage - gpc - gpc-announce - gpc-de - gpc-doc
Diese Seite auf deutsch

Mail #10558

Back to main page of archive

Previous mail   Next mail   Unformatted/full headers
Overview  10 days   Subject   Date   Thread   Author  

From: Eike Lange
Subject: C preprocessor definitions import
Date: 18 Jun 2004, 15:54:39

On Friday 18 June 2004 15:40, Igor Marnat wrote:
> But how can I get these values of C preprocessor definitions in my
> Pascal program? 

Please note, that "asmname"  is deprecated.

In C

int foo = FOO_CONST;

where FOO_CONST is defined somewhere else.

In Pascal:

var
  MyFoo: Integer; attribute (name='foo') ; external;
(untested)

Eike

Previous mail   Next mail   Unformatted/full headers
Overview  10 days   Subject   Date   Thread   Author  


Replies

Author Subject Date
Emil Jerabek C preprocessor definitions import 18 Jun 2004, 16:32:56
Igor Marnat C preprocessor definitions import 18 Jun 2004, 18:34:39
Frank Heckenbach C preprocessor definitions import 18 Jun 2004, 20:22:29

In reply to

Author Subject Date
Adriaan van Os threads status in GPC 18 Jun 2004, 11:17:35
Igor Marnat C preprocessor definitions import 18 Jun 2004, 17:40:24

Back to main page of archive


Note: This page contains information that does not originate from the owner of this web site, but from the authors of the mails archived. The owner of this web site is not responsible for the content of such information. Any use of that infomation requires the consent of the respective author.

Where WWW addresses (URLs) in the mails archived are marked as hyperlinks, this is only for the comfort of the reader. The content of the web pages linked to like this does not necessarily reflect the opinion of the owner of this web site or of the authors of the mails archived. The owner of this web site is not responsible for the content of such web pages. Those pages are explicitly not to be considered as part of the content of this page, but merely as references.


This page was created by Crystal 0.999 (Linux 2.4.27/i686).