[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gm2] How do I declare a character pointer returned from a "C" funct
From: |
Christian Maurer |
Subject: |
Re: [Gm2] How do I declare a character pointer returned from a "C" function? |
Date: |
Tue, 31 Aug 2010 15:30:49 +0200 |
User-agent: |
Mutt/1.5.20 (2009-06-14) |
Dear all,
sorry; my advice was misunderstanding, because there is no
main index page in http://lwb.mi.fu-berlin.de/inf/murus/Murus
so you please either get
http://lwb.mi.fu-berlin.de/inf/murus/Murus/GLXKern.def
and
http://lwb.mi.fu-berlin.de/inf/murus/Murus/Muruskern.def
and
http://lwb.mi.fu-berlin.de/inf/murus/Murus/X.def
directly, or the whole bucket
http://lwb.mi.fu-berlin.de/inf/murus/Murus.tgz
where you find the examples.
Regards, Christian
Christian Maurer schrieb am Tue, Aug 31, 2010 at 10:15:00AM +0200:
> Dear Sirs,
>
> have a look e.g. into GLXKern.def, Muruskern.def or X.def in
> http://lwb.mi.fu-berlin.de/inf/murus/Murus/
> where I constructed lots of interfaces from C to Modula-2.
> There you might find some suggestions.
>
> Regards, Christian
>
> Fischlin Andreas schrieb am Tue, Aug 31, 2010 at 07:31:24AM +0000:
> > POINTER TO ARRAY [0..n] OF CHAR;
> >
> > However, I have little idea how to define n. MAX(INTEGER)? n should be
> > chose to be MIN(n_gm2, n_C), i.e. a compiler specific number.
> >
> > Regards,
> > Andreas
> >
> >
> > ETH Zurich, Prof. Dr. Andreas Fischlin, Systems Ecology
> > CHN E 21.1, Universitaetstrasse 16, 8092 Zurich, SWITZERLAND
> > Tel +41 44 633-6090, Fax +41 44 633-1136, http://www.sysecol.ethz.ch/
> >
> > On 31/Aug/2010, at 02:29 , john o goyo wrote:
> >
> > > Gaius:
> > >
> > > I am investigating the failure of TermFile and need to use a "C" funciton.
> > >
> > > In particular, I am calling a function that returns a character pointer.
> > > How do I declare this in the definition module for gm2?
> > >
> > > john
> > >
> > >
> > > _______________________________________________
> > > gm2 mailing list
> > > address@hidden
> > > http://lists.nongnu.org/mailman/listinfo/gm2
> >
> >
> > _______________________________________________
> > gm2 mailing list
> > address@hidden
> > http://lists.nongnu.org/mailman/listinfo/gm2
>
> --
> Dr. Christian Maurer Leiter Lehrerweiterbildung
> FB Mathematik und Informatik http://lwb.mi.fu-berlin.de
> Freie Universität Berlin Tel. 838 75215, 214 78 530
>
> _______________________________________________
> gm2 mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/gm2
--
Dr. Christian Maurer Leiter Lehrerweiterbildung
FB Mathematik und Informatik http://lwb.mi.fu-berlin.de
Freie Universität Berlin Tel. 838 75215, 214 78 530