On 11 Dec 2005 06:23:37 -0800, in comp.lang.c , "Marco"
<pr**********@y ahoo.com> wrote:
Does anyone know of a C stub generator? Prefer open-source and/or free.
This would parse the header .h file and create a .c file with stubbed
out functions.
This is handy for unit testing and interface and test driven
development.
Not aware of anything that does precisely this, but it'd be trivial to
write in either C or Perl.
There also do exist perl scripts to generate stub functions from
Windows DLLs, and these operate by creating an intermediate file
essentially identical to a header. You could pull the perl down and
examine it.
----== Posted via Newsfeeds.Com - Unlimited-Unrestricted-Secure Usenet News==----
http://www.newsfeeds.com The #1 Newsgroup Service in the World! 120,000+ Newsgroups
----= East and West-Coast Server Farms - Total Privacy via Encryption =----