Correct SCM_ASSERT() usage with incorrect SCM_ARGx.
commitc9d4f6638bbc7ba84534c2460037f19915114a95
authorKarl Hammar <karl@aspodata.se>
Tue, 26 Jul 2011 14:08:01 +0000 (26 16:08 +0200)
committerPeter TB Brett <peter@peter-b.co.uk>
Wed, 27 Jul 2011 08:05:50 +0000 (27 09:05 +0100)
tree1a85f7386f7b7823a7128e5439954f3dda690bfb
parent08f64a801c3af30ef54861f3549f3de6ea02b1b2
Correct SCM_ASSERT() usage with incorrect SCM_ARGx.

From guile documentation:

 -- Macro: void SCM_ASSERT (int TEST, SCM OBJ, unsigned int POSITION,
          const char *SUBR)
...
 -- Macro: int SCM_ARG1
...
 -- Macro: int SCM_ARG7
     One of the above values can be used for POSITION to indicate the
     number of the argument of SUBR which is being checked.
...

Some SCM_ASSERT() calls have the wrong SCM_ARGx for its TEST and OBJ.

Reviewed-by: Peter TB Brett <peter@peter-b.co.uk>
gnetlist/src/g_netlist.c
gschem/src/g_funcs.c
libgeda/src/g_rc.c
libgeda/src/scheme_attrib.c
libgeda/src/scheme_object.c