Re: [dev] [surf] [PATCH] Simplify eval arg handling

From: Jochen Sprickerhof <dwm_AT_jochen.sprickerhof.de>
Date: Thu, 23 Apr 2015 20:53:04 +0200

* Jason Woofenden <jason_AT_jasonwoof.com> [2015-04-23 14:36]:
> Both implementations (before and after your patch) pass a char*.
> But (assuming I'm reading the code correctly) they don't pass the
> same address.

True, the old one assumes a char** (an array of strings), whereas the
new one assumes a char*, i.e., string. As evascript() later only accepts
one char*, it doesn't make sense to put it behind an other layer of
indirection into the arg->v.

Cheers Jochen

Received on Thu Apr 23 2015 - 20:53:04 CEST

This archive was generated by hypermail 2.3.0 : Thu Apr 23 2015 - 21:00:18 CEST