LGTM!
https://codereview.appspot.com/7097045/diff/1/tools/render_pdfs_main.cpp
File tools/render_pdfs_main.cpp (right):
https://codereview.appspot.com/7097045/diff/1/tools/render_pdfs_main.cpp#newc...
tools/render_pdfs_main.cpp:214: parse_commandline(argc, argv, &inputs,
&outputDir);
On 2013/01/11 20:12:20, edisonn wrote:
> One usual conventions for readability it is to pass a const reference for [in]
> args and a pointer for [out] args
>
> On 2013/01/11 20:00:17, epoger wrote:
> > I think it would be safer to pass outputDir by reference... that way, you
> don't
> > have to worry about the caller passing NULL or the wrong party freeing a
> > pointer.
>
Indeed, looking at the "Function Parameters" section of
https://sites.google.com/site/skiadocs/developer-documentation/contributing-c...
I see exactly that guidance. So please disregard my suggestion.
C++ programmers, always wanting to perform without a net... sigh...
Issue 7097045: Add option to render PDFs to memory only.
(Closed)
Created 12 years ago by edisonn
Modified 12 years ago
Reviewers: EricB, epoger
Base URL: http://skia.googlecode.com/svn/trunk/
Comments: 7