On Sat, Aug 24, 2013 at 07:47:44AM +0200, Holger Hans Peter Freyther wrote:
> but luckily these appear to be all defines so we can generate code > like this? > > #ifdef GDK_TouchpadToggle > .... code > #endif I wrote this piece of awk: +function print_numeric_define(c_name) +{ + selector = smalltalkize(tolower(c_name)) + return "#ifdef " c_name "\n printf(\"\\n" selector " ^%d!\", (int) " c_name ");\n#endif" +} + and will commit a patch for this over the weekend (unless there are objections to it). _______________________________________________ help-smalltalk mailing list help-smalltalk@gnu.org https://lists.gnu.org/mailman/listinfo/help-smalltalk