Re: [cc65] Linked List Problem

Date view Thread view Subject view

From: Johan Kotlinski (johan_at_littlesounddj.com)
Date: 2004-01-01 01:29:36


> PStringList is a typedef for struct StringList*
> 
> So, would that mean the parameter you said to use is
> actualy a pointer to a pointer?

Exactly, since we want the callers pointer to be updated with the new value from malloc().

Another odd thing is that you use &"KEY", "KEY" is enough to give a char*.

Cheers,
Johan
----------------------------------------------------------------------
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 : 2004-01-01 01:43:08 CET