John Gillette JGillette at rfmd.com
Thu Apr 19 11:40:07 EDT 2007

In cdefs.h, they are defined like so:

/* C++ needs to know that types and declarations are C, not C++.  */
#ifdef	__cplusplus
# define __BEGIN_DECLS	extern "C" {
# define __END_DECLS	}
# define __BEGIN_DECLS
# define __END_DECLS

So standard C++ name de-mangling.  Not needed, won't hurt.

So I broke 2 rules: I posted in HTML (oops, Windows default)
                    I wasted bandwidth on a question I really COULD find
on the web.

I'm sorry.

	Subject: [GRASS-dev] __BEGIN_DECLS
	In lib/vector/dglib/graph.h  there is __BEGIN_DECLS (near top)
and __END_DECLS (at bottom). 

	Are these needed? 
	What do they do? 


More information about the grass-dev mailing list