Re: [cc65] void structures (non-ANSI C feature)

Date view Thread view Subject view

From: Maciej Witkowiak (ytm_at_elysium.pl)
Date: 2003-05-09 00:32:39


Ullrich von Bassewitz dnia 06 maj 2003 o 12:08 +0200 napisał:
> variables. Since the data type is "void" it cannot be accessed directly. But,
> when taking a pointer to this variable, it automatically yields a "void*",
> which can be passed to every function that expects any pointer.

Which reminds me that I should probably change prototypes for such functions
to take const void* instead of const char* as an argument, right?

ytm

----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo_at_musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.


Date view Thread view Subject view

This archive was generated by hypermail 2.1.3 : 2003-05-09 00:35:43 CEST