[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: smob questions
From: |
Marius Vollmer |
Subject: |
Re: smob questions |
Date: |
Thu, 13 Nov 2003 20:13:33 +0100 |
User-agent: |
Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3 (gnu/linux) |
address@hidden (Paul Jarc) writes:
> What is a smob's print function supposed to do with print_state?
You can use it with functions like scm_iprin1, but you can also just
ignore it.
The print_state is used to track the context of a 'write' or 'display'
call so that shared data can be found and printed, for example.
> Would anything break if two smob types had the same name?
No, but it might be confusing.
--
GPG: D5D4E405 - 2F9B BCCC 8527 692A 04E3 331E FAF8 226A D5D4 E405