Commit Graph

42 Commits

Author SHA1 Message Date
Nicolas Williams
fa2afcc5fc Add #ifndef DOXY guard to generated headers
cf/make-proto.pl copies Doxygen docs to -private and -protos headers.
We need to either extract these from those files but not source files,
or only from source files but not the generated headers.  This commit
does the latter.
2016-12-14 22:05:58 -06:00
Love Hornquist Astrand
ad824fcd6a remove bit that might make old perl fail 2013-07-19 14:40:37 +02:00
Love Hornquist Astrand
644bbff26f better documentation 2013-07-18 14:58:54 +02:00
Love Hornquist Astrand
6d356ae74d remove debug printf's 2013-05-07 13:27:10 -07:00
Love Hornquist Astrand
c98d31d186 fixup 2013-05-07 13:25:07 -07:00
Love Hornquist Astrand
dca1de8dc8 add doxygen support and json export document support 2013-04-30 11:25:35 -07:00
Love Hornquist Astrand
8fb0c019ec use Getopt::Std, patch original from Leonardo <rnalrd@gmail.com>, updated by me 2012-09-23 10:41:34 -07:00
Love Hörnquist Åstrand
053c44e100 Rename over old file, but only if it changed 2012-02-29 21:56:07 -08:00
Love Hornquist Astrand
a2256e00d8 use __deprecated__ 2011-09-19 11:10:51 +02:00
Love Hornquist Astrand
57d468518f fix __has_extension macro to take an argument 2011-09-11 18:30:45 +02:00
Love Hornquist Astrand
4b0087fd4a use __has_extension(attribute_deprecated_with_message) if it exists 2011-09-09 14:16:48 +02:00
Love Hornquist Astrand
305596d9ad Rename subsystem_DEPRECATED to subsystem_DEPRECATED_FUNCTION(X)
Start to explain what the replacement function is.
Generate the #define/#undef logic in generated header files.
Use gcc style where the deprecation warning is after the prototype.
2011-05-17 23:12:51 -07:00
Asanka C. Herath
9bb59e45c6 Deal with backslash delimited paths in make-proto.pl 2010-11-24 15:32:44 -05:00
Love Hornquist Astrand
6cdf8104f7 do is deprecated, so lets stop using it 2010-10-02 12:05:41 -07:00
Asanka Herath
c9fdd77bc8 probe exported symbols
Signed-off-by: Love Hornquist Astrand <lha@h5l.org>
2009-11-24 12:30:24 -08:00
Love Hornquist Astrand
ee4afc8060 add block support 2009-11-21 10:25:08 -08:00
Love Hörnquist Åstrand
7b8d7eb177 make _stdcall __stdcall
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25213 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-05-21 17:42:10 +00:00
Love Hörnquist Åstrand
7905f82ddc make aware of DEPRECATED
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24298 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-11 21:51:27 +00:00
Love Hörnquist Åstrand
08f3e8d3ac Define both export variables.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23023 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-17 10:01:46 +00:00
Love Hörnquist Åstrand
a612a9ad35 Export _FUNCTION and _VARIABLE for _win32 magic
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23007 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-17 10:00:31 +00:00
Love Hörnquist Åstrand
eda8e5179a Add __declspec(dllimport) to the exported functions.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23001 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-17 10:00:03 +00:00
Love Hörnquist Åstrand
d1404acc69 Handle c-comments.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22625 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-02-23 15:03:48 +00:00
Love Hörnquist Åstrand
f7ebdddf35 add cpluscplus extern "C" support
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14183 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-09-03 08:50:57 +00:00
Johan Danielsson
a5f4dc9f57 replace "roken" hack with more generic flags
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13987 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-06-24 13:19:37 +00:00
Love Hörnquist Åstrand
c9a77dc3c7 if -E, add windows standard calling conv to headerfile if needed
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13712 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-13 14:33:07 +00:00
Johan Danielsson
d841047ce6 stuff to generate headerfile for roken
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12920 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-25 13:26:56 +00:00
Johan Danielsson
dfb7c49d51 check the processed string for closing ), not the source
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11465 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-09-19 19:29:42 +00:00
Johan Danielsson
c49d1ff1c7 include <stdarg.h> to get va_list
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11086 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-08-12 16:23:58 +00:00
Johan Danielsson
9a018a80df make it possible to redefine the "private" regexp
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10982 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-05-16 09:34:37 +00:00
Johan Danielsson
857e7bb929 optionally remove __P and parameter names
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10929 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-04-18 11:30:09 +00:00
Assar Westerlund
2ab0ebbe0a add kludge for handling { and } on the same line
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10174 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-06-23 22:29:18 +00:00
Johan Danielsson
d9bf00ccb9 more __attribute__ fixes
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5949 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-04-15 12:37:54 +00:00
Johan Danielsson
727a2a7943 handle __attribute__
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5948 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-04-15 12:17:24 +00:00
Johan Danielsson
bb6d0a2395 put public and private functions (starting with underscore) in
separate headers


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5655 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-03-21 13:06:15 +00:00
Assar Westerlund
d21d2a3c9c now it should actually work with perl4
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@4451 ec53bebd-3082-4978-b11e-865c3cabbd6b
1998-02-26 01:19:43 +00:00
Assar Westerlund
a2b2383490 revert
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3653 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-10-20 09:25:46 +00:00
Assar Westerlund
a35b84e273 make it work with perl4
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3652 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-10-20 09:22:26 +00:00
Johan Danielsson
2db52e1b0e remove comments
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3526 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-09-22 17:33:56 +00:00
Assar Westerlund
c08ea286e9 fix __P for stone age mode
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3270 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-08-29 01:13:17 +00:00
Johan Danielsson
923bcbdc51 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3269 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-08-29 01:08:34 +00:00
Johan Danielsson
a374a55862 Include <stdarg.h>
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3266 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-08-29 00:54:40 +00:00
Johan Danielsson
f1ff3ebf9a prototype generation
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3240 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-08-28 23:09:16 +00:00