Re: make return buffers more obvious

"Enrico Weigelt, metux IT consult" <[email protected]>
Newsgroups gmane.comp.lib.cairo
Message-ID <[email protected]>
On 18.12.2015 19:29, Bill Spitzak wrote:
> Can const be used? Perhaps with a "#define const /*nothing*/" on
> compilers that don't actually support it?

Const is already used in many places, but we still have to look
more carefully than just the const modifier.

Im thinking of somthing like name prefixes, etc.

We also lots of functions which fill out / initialize some structures,
kind of constructors. I'd suggest those functions should always have
that return buffer pointer as the first parameter (some already have)


--mtx

--
Enrico Weigelt,
metux IT consulting
+49-151-27565287
-- 
cairo mailing list
[email protected]
http://lists.cairographics.org/mailman/listinfo/cairo
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.