Linked by Quentin Hartman on Mon 14th Jul 2008 08:46 UTC, submitted by makkus
GTK+ At last week's Guadec meeting, Kristian Rietveld delivered the GTK+ "state of the union" report. GTK+ is the multi-platform toolkit behind a number of popular applications and, perhaps most well known, the Gnome Desktop environment for Linux. Read the full report here.
Permalink for comment 322973
To read all comments associated with this story, please click here.
RE: When is something good enough?
by siska on Tue 15th Jul 2008 12:23 UTC in reply to "When is something good enough?"
siska
Member since:
2006-02-01

> Then again, the C language doesn't help
> them at all with making these private...

I think they mean:

now

gtk_foo.h
---------
struct gtk_foo {
int something;
};
struct gtk_foo *gtk_foo_create();
int gtk_foo_get_something(struct gtk_foo *);

then

gtk_foo.h
---------
struct gtk_foo;
struct gtk_foo *gtk_foo_create();
int gtk_foo_get_something(struct gtk_foo *);

gtk_foo.c
---------
struct gtk_foo {
int something;
};


so in pratice this is a way to make field structures private to other files...

Edited 2008-07-15 12:23 UTC

Reply Parent Bookmark Score: 2