GeraldWodni/swig — pull request #3 by forthy42 (2014-11-01 21:40:51+00:00)
Title: Avoid void type in argument list

Strip out "void" from the input side of an argument list, i.e. foo(void) is ( -- ) in Forth, not ( void -- ).

Added an AL(string) macro for Strncmp to use: AL("string") is for perfect matching comparisons, AL("string")-1 is for prefix comparisons (strips the terminating \0). This macro makes it much easier to compare against string constants, as you don't need to hand-count the characters. Please keep im mind that Strncmp(string, "test", 4) only checks if string has "test" as prefix, as it only compares 4 characters, and not the terminating \0.