EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  <20212022  2023  2024  Index 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  <20212022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Coding style question IOCFUNCDEF_HAS_USAGE
From: Heinz Junkes via Core-talk <core-talk at aps.anl.gov>
To: core-talk EPICS <core-talk at aps.anl.gov>
Date: Wed, 13 Jan 2021 14:03:55 +0100
In EPICS 7, a macro IOCFUNCDEF_HAS_USAGE is defined in ioch.h.

Taking that into account, my code looks like this (it's not "pretty") :

----
static const iocshFuncDef rtshellFuncDef = { “rt”,2, rtshellArgs
#ifdef IOCFUNCDEF_HAS_USAGE
					   , “run rtems shell command”
#endif
                                           };
----

How do you get it to look nice?

Danke,
Heinz


Attachment: smime.p7s
Description: S/MIME cryptographic signature


Replies:
Re: Coding style question IOCFUNCDEF_HAS_USAGE Johnson, Andrew N. via Core-talk

Navigate by Date:
Prev: Build failed: EPICS Base 7 base-7.0-122 AppVeyor via Core-talk
Next: Re: [Merge] ~bfrk/epics-base:remove-dbfl_type_rec into epics-base:7.0 mdavidsaver via Core-talk
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  <20212022  2023  2024 
Navigate by Thread:
Prev: Build failed: EPICS Base 7 base-7.0-122 AppVeyor via Core-talk
Next: Re: Coding style question IOCFUNCDEF_HAS_USAGE Johnson, Andrew N. via Core-talk
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  <20212022  2023  2024 
ANJ, 13 Jan 2021 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·