[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Do I have to cast here ?



Erik Mouw wrote:
>
> The third option: declare mot_initialize_parallel_port() as:
> 
>   void mot_initialize_parallel_port(gint *mot_parallel_port_status)

OK, that was also something i thougt about, but my reasoning was as
follows: i don't want to use this type of declaration because then it
means that in other programs where i don't want to use any GTK+ coding,
i can't use this function... If i want to compile other programs and
want to use some functions that i wrote some time ago in another
program, that means i HAVE to include GTK, and maybe that's not what I
want... maybe I just want a simple program that doesn't need any GTK at
all?

You see what I mean and why I posted this question?

Any suggestions?

Greetzzz
MC303

-- 
Bart Vandewoestyne		http://hello.to/MC303		
Hugo Verrieststraat 48		Bart.Vandewoestyne@skynet.be
8550 ZWEVEGEM			ICQ# 21275340
BELGIUM - EUROPE		nick: MC303
Phone: +32(0)56/75.48.11
-------------------------------------------------------------
"If we knew what it was we were doing, it would not
 be called research, would it?"
				-- Albert Einstein --




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]