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

Re: RFC libquran: API



On 7/26/07, Ahmed Ghoneim <ahmed dot ghoneim at gmail dot com> wrote:
> Are we depending on GLib? if we're using libc only, we should use

No, libc only.

> standard types only, or better yet, for ease of use and portability we
> can define our own types. this would help a great deal in maintaining
> a single source (less #ifdefs) and accommodate the windows retarded
> generic text mapping and TCHAR.H, by simply defining eg. qchar to mean
> _TCHAR for windows in just one place

That's doable.

> i know that this is a preliminary list, but just a small reminder that
> we need some utility functions for malloc/free (quran_free,
> quran_malloc) for reasons explained in a previous message.

We could have a wrapper for this also inside libquran.