Re: gstreamermm header problem
- From: José Alburquerque <jaalburquerque cox net>
- To: Daniel Elstner <daniel kitta googlemail com>
- Cc: gtkmm-list gnome org
- Subject: Re: gstreamermm header problem
- Date: Fri, 15 May 2009 11:05:27 -0400
On Fri, 2009-05-15 at 16:57 +0200, Daniel Elstner wrote:
> VERSION is a macro, so it's not namespaced.
>
> Also, objects that need a constructor to run should not be defined in
> header files, with some rare exceptions. Not to mention that the
> definition should have gone into the source file rather than the header,
> as a Glib::ustring is no longer a simple value constant.
Yes, I just noticed that as I looked at the source. It was an old Java
habit which as you mentioned I was going to correct.
> I think these constants should probably be mapped to enums, and the
> corresponding name strings looked up when doing the conversion from C++
> to C argument types.
I'll certainly look into this.
--
José Alburquerque
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]