[gst-devel] extern "C"

Thomas Vander Stichele thomas at apestaart.org
Fri Jul 18 09:49:03 CEST 2003


On Fri, 2003-07-18 at 13:54, Benjamin Otte wrote:
> I would prefer if we put the G_BEGIN_DECLS / G_END_DECLS only into
> gst/gst.h and remove it from all other headers. Or should any plugin/app
> only include some of the headers?

It seems customary to allow this, yes -> see gtk+, where including only
headers for objects you need is encouraged.

In fact, it would probably not be a bad idea at all to provide some way
to apps to only have to include headers they need.  

Thomas

> That way we don't have to remember it for new headers that get added.
> 
> Benjamin
> 
> 
> On 17 Jul 2003, Thomas Vander Stichele wrote:
> 
> > can someone of you look this through and give us a patch where it's
> > missing ?
> >
> > Thanks
> > Thomas
> >
> > On Thu, 2003-07-17 at 14:47, Gustavo J. A. M. Carneiro wrote:
> > > A Qui, 2003-07-17 às 06:01, David Schleef escreveu:
> > > > On Thu, Jul 17, 2003 at 12:38:38AM -0400, Taylor Christopher P wrote:
> > > > > thanks for all the tips/tricks/assistance with the lymric
> > > > > makefile/configure situation. we're going to revert all the UI/GTK+ code
> > > > > written thus far back into C [from c++] to get this application to
> > > > > integrate with gstreamer. though, it would be nice to have gstreamer
> > > > > accessible to g++.
> > > >
> > > > This shouldn't be necessary.  We should just fix the bug.
> > >
> > >  GStreamer headers should be using G_BEGIN_DECLS / G_END_DECLS.
> >
> > Dave/Dina : future TV today ! - http://davedina.apestaart.org/
> > <-*- thomas (dot) apestaart (dot) org -*->
> > Xander : "We kind of have a romantic evening planned."
> > Anya : "We were gonna light a bunch of candles and have sex near them."
> > <-*- thomas (at) apestaart (dot) org -*->
> > URGent, best radio on the net - 24/7 ! - http://urgent.rug.ac.be/
> >
> >
> >
> > -------------------------------------------------------
> > This SF.net email is sponsored by: VM Ware
> > With VMware you can run multiple operating systems on a single machine.
> > WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the
> > same time. Free trial click here: http://www.vmware.com/wl/offer/345/0
> > _______________________________________________
> > gstreamer-devel mailing list
> > gstreamer-devel at lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
> >
> >

Dave/Dina : future TV today ! - http://davedina.apestaart.org/
<-*- thomas (dot) apestaart (dot) org -*->
And I'm not the drowning man you think
I flail my arms and refuse to sink
<-*- thomas (at) apestaart (dot) org -*->
URGent, best radio on the net - 24/7 ! - http://urgent.rug.ac.be/





More information about the gstreamer-devel mailing list