[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: proposal: scm_string2str() and scm_symbol2str()
From: |
Dirk Herrmann |
Subject: |
Re: proposal: scm_string2str() and scm_symbol2str() |
Date: |
Thu, 29 Nov 2001 22:49:05 +0100 (MET) |
On Wed, 28 Nov 2001, stefan wrote:
> 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...
Unfortunately it doesn't work well with threads, at least not in the way
you are suggesting.
Best regards
Dirk Herrmann
- Re: proposal: scm_string2str() and scm_symbol2str(), (continued)
- Re: proposal: scm_string2str() and scm_symbol2str(), Dirk Herrmann, 2001/11/21
- Re: proposal: scm_string2str() and scm_symbol2str(), stefan, 2001/11/21
- Re: proposal: scm_string2str() and scm_symbol2str(), Dirk Herrmann, 2001/11/21
- Re: proposal: scm_string2str() and scm_symbol2str(), stefan, 2001/11/22
- Re: proposal: scm_string2str() and scm_symbol2str(), Dirk Herrmann, 2001/11/22
- Re: proposal: scm_string2str() and scm_symbol2str(), stefan, 2001/11/22
- Re: proposal: scm_string2str() and scm_symbol2str(), Dirk Herrmann, 2001/11/25
- Re: proposal: scm_string2str() and scm_symbol2str(), stefan, 2001/11/26
- Re: proposal: scm_string2str() and scm_symbol2str(), Marius Vollmer, 2001/11/27
- Re: proposal: scm_string2str() and scm_symbol2str(), stefan, 2001/11/28
- Re: proposal: scm_string2str() and scm_symbol2str(),
Dirk Herrmann <=
- Re: proposal: scm_string2str() and scm_symbol2str(), stefan, 2001/11/29
- Re: proposal: scm_string2str() and scm_symbol2str(), Ken Raeburn, 2001/11/30