guile-devel
[Top][All Lists]
Advanced

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

Re: proposal: scm_string2str() and scm_symbol2str()


From: stefan
Subject: Re: proposal: scm_string2str() and scm_symbol2str()
Date: Wed, 28 Nov 2001 11:12:57 +0100 (CET)

On 27 Nov 2001, Marius Vollmer wrote:

> stefan <address@hidden> writes:
> 
> > We could make life easier, if we supplied the following:
> > 
> > typedef void * (* scm_t_malloc_func) (size_t);
> > typedef void (* svz_t_free_func) (void *);
> > 
> > SCM_API scm_t_malloc_func scm_c_malloc = malloc;
> > SCM_API scm_t_free_func scm_c_free = free;
> 
> Doesn't _every_ library on Win32 has this problem?  Do they all solve
> it on their own?

Yes.  Portable programs solve this problem.  Especially the ancient
libraries like `zlib' all provide such functionality if necessary.  The
function pointers seems to be the favourite...

Cheers,
        address@hidden




reply via email to

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