Add me to the list of those interested. I hate having to change it
by hand. I have various projects to support, and they each have
various code style guidelines. None of them are compatible with
the generated code format. While we’re at it, C++ generated code
would be good too…
-Barry
Jim Lambert wrote:
I have always wondered too if it was customizable. At least QSSL didnt do
them this way:
int
mycallback(…) {
stuff
more stuff
}
I hate that format. At least I can live with the current format. > 
Jim
Mark Robinson <> mark@infact-holdings.com> > wrote in message
news:8l6o94$eji$> 1@nnrp1.deja.com> …
Hi.
Is there a way to change the format of callback function stubs
that PhAB inserts into my code? For example, it inserts:
(the <> bits are because I can’t copy and paste from photon
to here, and can’t be bothered typing it in)
int
mycallback()
{
unreferenced warnings
return( PtContinue );
}
I would prefer:
int mycallback()
{
unreferenced warnings
return (PtContinue);
}
note the changes in spacing and tabbing.
Is it possible to do this, so that I don’t have to keep
modifying it by hand?
Cheers
mark-r
–
Infact Holdings (UK) | There’s lies, damned lies
Unit 52 Salford Uni Business Park | and Amplifier power ratings.
Leslie Hough Way,Salford M6 6AJ, UK | – Bluffers Guide to Hi-Fi.
http://www.infact-holdings.com/
Sent via Deja.com > http://www.deja.com/
Before you buy.
–
__| _ \ _ | Barry Robertson
_ \ | | | Software Consultant Phone: 972-758-9349
| __ < | Software Remodeling, Inc. Fax: 972-964-7524
___/ _| __| brobertson@SoftwareRemodeling.com