[DGD]Includes

Mikael Lind z94lind at mtek.chalmers.se
Wed May 23 10:13:54 CEST 2001


Quoting Lord Lerkista from 15:52, 2001-05-22:

> I have living.c and player.c
> 
> in living.c i have a #include <cmd.h>
> 
> player.c inherits living.c
> 
> how can i "uninclude" cmd.h to not use it in player.c??

Precompiler defines are not inherited so there is no need for
uninclusion in your case. If living.c instead contains actual LPC
code that you do not want to inherit into player.c, you may need to
redesign your object hierarchy.

// Mikael / Elemel

--
Give up yourself unto the moment / The time is now / Give up yourself
unto the moment / Let's make this moment last // Moloko


List config page:  http://list.imaginary.com/mailman/listinfo/dgd



More information about the DGD mailing list