[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
gEDA-bug: [Bug 698708] Re: Standardize libgeda headers
Bug was fixed by a commit
git master commit 2f36675adb75051526074f5bed7d18481e8c8159
http://git.gpleda.org/?p=gaf.git;a=commit;h=2f36675adb75051526074f5bed7d18481e8c8159
commit 2f36675adb75051526074f5bed7d18481e8c8159
Author: Peter TB Brett <peter@xxxxxxxxxxxxx>
Commit: Peter TB Brett <peter@xxxxxxxxxxxxx>
libgeda: Enable use from C++ programs.
Use G_BEGIN_DECLS and G_END_DECLS to make sure function prototypes are
declared with C linkage where appropriate.
Closes-bug: lp-698708
** Changed in: geda
Status: Confirmed => Fix Committed
--
You received this bug notification because you are a member of gEDA Bug
Team, which is subscribed to gEDA.
https://bugs.launchpad.net/bugs/698708
Title:
Standardize libgeda headers
Status in GPL Electronic Design Automation tools:
Fix Committed
Bug description:
My C++ application uses libgeda to read schematic files.
libgeda/prototype.h should tell compilers that libgeda functions have C linkage.
This done with an extern "C" parenthesis.
I have also borrowed libgeda/libgeda.h license header.
Though totally useless here, I have added protection against multiple inclusion.
To manage notifications about this bug go to:
https://bugs.launchpad.net/geda/+bug/698708/+subscriptions
_______________________________________________
geda-bug mailing list
geda-bug@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-bug