Functions meant to be used from within C shoud never be
declared bool!
Fix: change boinc_is_standalone() to return int not bool.
Note: some API functions still return bools, but since E@H
doesn't use them and I am afraid of doing damage, I have
left them alone.
svn path=/trunk/boinc/; revision=9181
- In graphics_lib.h, this is for compatibility with pure C
applications.
- In graphics_impl.h, this would be needed EVEN if we were
never building app or library with anything other than C++.
It's because dlsym() can only work if you pass it a non-name
mangled symbol. Please see:
http://www.isotton.com/howtos/C++-dlopen-mini-HOWTO/C++-dlopen-mini-HOWTO.html
for futher edetail.
- Comments added to graphics_lib.C, better error message.
svn path=/trunk/boinc/; revision=4829