gm2
[Top][All Lists]
Advanced

[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: Dragiša Durić
Subject: Re: [Gm2] How do I declare a character pointer returned from a "C" function?
Date: Tue, 31 Aug 2010 11:19:05 +0200

We would, gladly,

except...

Forbidden
You don't have permission to access /inf/murus/Murus/ on this server.

:)

On Tue, 2010-08-31 at 10:15 +0200, Christian Maurer wrote:
> 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
> 

-- 
Dragiša Durić <address@hidden>




reply via email to

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