Restore signature of `scm_primitive_load_path ()' as found in 1.8.
authorLudovic Courtès <ludo@gnu.org>
Wed, 14 Oct 2009 23:05:32 +0000 (01:05 +0200)
committerLudovic Courtès <ludo@gnu.org>
Wed, 14 Oct 2009 23:05:32 +0000 (01:05 +0200)
commit31ab99de563027fe2bceb60bbd712407fcaf868e
tree426e1b25bd5ccc01f3152eabcae62906ca62801e
parent682d78d05e567a46b1c443c5f852c575ab529f5a
Restore signature of `scm_primitive_load_path ()' as found in 1.8.

The incompatibility was introduced by
0fb81f95b0222c5ba49efd3e36cf797df54c0863 ("add exception_on_error
optional arg to primitive-load-path").

* libguile/load.c (scm_primitive_load_path): Change to take 1 rest
  argument.  Interpret the argument as either a file name (C-level
  backward compatibility with 1.8) or an actual argument list.
  (scm_c_primitive_load_path): Update caller.

* libguile/load.h (scm_primitive_load_path): Update accordingly.

* doc/ref/api-evaluation.texi (Loading): Update documentation of
  `primitive-load-path' and `scm_primitive_load_path ()'.
doc/ref/api-evaluation.texi
libguile/load.c
libguile/load.h