Re: [dev] [surf] eval() not needed?

From: Troels Henriksen <athas_AT_sigkill.dk>
Date: Sat, 07 Jul 2012 14:46:41 +0200

stanio_AT_cs.tu-berlin.de writes:

>> { CTRL, GDK_c, eval, STRING("removeHints()")
>
> eval expects arg->v to be char**, so your STRING resolves to sth like
>
> { .v = (const char *[]){"simplyread(false, false)" } }
>
> right?

Yes:

#define STRING(f) { .v = (char*[]){ f } }

-- 
\  Troels
/\ Henriksen
Received on Sat Jul 07 2012 - 14:46:41 CEST

This archive was generated by hypermail 2.3.0 : Sat Jul 07 2012 - 14:48:03 CEST