Re: Example in Docs: GPOINTER_TO_INT
- From: Havoc Pennington <hp redhat com>
- To: "Daniel V." <dvenkita rand lab ecel uwa edu au>
- Cc: Brooklyn Linux Solutions <ruben mrbrklyn com>, gtk-app-devel-list gnome org
- Subject: Re: Example in Docs: GPOINTER_TO_INT
- Date: 31 May 2001 17:59:39 -0400
"Daniel V." <dvenkita rand lab ecel uwa edu au> writes:
It's a cast, from a pointer to an int. Equivalent to:
(gint) to_print
Not quite equivalent; the plain cast as above isn't portable,
GPOINTER_TO_INT() does magic so it is.
Havoc
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]