beginner question about extern
- From: "beginner.c" <beginner c gmail com>
- To: gtk-app-devel-list gnome org
- Subject: beginner question about extern
- Date: Sun, 17 Jun 2007 01:21:33 -0700 (PDT)
Hi,
I'm having a problem with multiple files and using extern
In main.c I'm declaring
GtkWidget *a;
(...do a bunch of stuff successfully to a)
In another file:
extern GtkWidget *a;
(..do a bunch of stuff with error)
gtk_toggle_button_set_active: assertion failed ...blah blah failed.
I'm am typecasting in my second file as I am in the first file, it works in
the first file
--
View this message in context: http://www.nabble.com/beginner-question-about-extern-tf3935358.html#a11161340
Sent from the Gtk+ - Apps Dev mailing list archive at Nabble.com.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]