Hi,

There is RFC patchset which gets rid of Xalloc/Xfree/... wrappers in X
server while retaining the API and ABI.

URL: git://anongit.freedesktop.org/~dottedmag/xserver no-xalloc

The changes are as the following:

 * Xalloc/Xfree/Xrealloc/Xcalloc (and lowercase macros) usage is
   replaced by malloc/free/realloc/calloc.

 * lowercase macros are kept in headers as is

 * X* functions are cleaned up (no longer manual alignment tricks) and
   became just a plain wrappers without additional functionality.

 * X* functions are marked as deprecated.

 * XNF*/xnf* functions are kept as is, except that all XNF* uses in X
   server are replaced by xnf* for consistency.

If retaining ABI is not necessary at this point of server lifecycle, it
should be relatively easy to drop X* and XNF* exported symbols
altogether, keeping xnf* functions and handful of compatibility macros.

-- 
  http://fossarchy.blogspot.com/

Attachment: pgp9vaYiRUt8l.pgp
Description: PGP signature

_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to