* return 0 if the request is for 0 bytes, with no end-of-file
check
+** New function: object->string OBJ
+
+Return a Scheme string obtained by printing a given object.
+
** New function: port? X
Returns a boolean indicating whether X is a port. Equivalent to
Set or get the hostname of the machine the current process is running
on.
+** New function: open-input-string string
+
+Return an input string port which delivers the characters from
+`string'. This procedure, together with `open-input-string' and
+`get-output-string' implements SRFI-6.
+
+** New function: open-output-string
+
+Return an output string port which collects all data written to it.
+The data can then be retrieved by `get-output-string'.
+
+** New function: get-output-string
+
+Return the contents of an output string port.
+
** Deprecated: close-all-ports-except. This was intended for closing
ports in a child process after a fork, but it has the undesirable side
effect of flushing buffers. port-for-each is more flexible.
** Removed constants: bignum-radix, scm-line-incrementors
+** define-method: New syntax mandatory.
+
+The new method syntax is now mandatory:
+
+(define-method (NAME ARG-SPEC ...) BODY ...)
+(define-method (NAME ARG-SPEC ... . REST-ARG) BODY ...)
+
+ ARG-SPEC ::= ARG-NAME | (ARG-NAME TYPE)
+ REST-ARG ::= ARG-NAME
+
+If you have old code using the old syntax, import
+(oop goops old-define-method) before (oop goops) as in:
+
+ (use-modules (oop goops old-define-method) (oop goops))
+
* Changes to the gh_ interface
* Changes to the scm_ interface
This can be used to set an apply function to a smob type.
+** Deprecated function: scm_strprint_obj
+
+Use scm_object_to_string instead.
+
\f
Changes since Guile 1.3.4: