guile-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[patch] subordinate SMOBs with GOOPS superclasses


From: Marco Maggi
Subject: [patch] subordinate SMOBs with GOOPS superclasses
Date: Tue, 27 Nov 2007 07:57:02 +0100

The attached patch documents the creation of
a GOOPS class whenever a new SMOB type is
defined and GOOPS has been already loaded.

Additionally it adds a special SMOB type that
dispatches function invocations to a user defined
subordinate SMOB. This allows to overcome the
hard coded limit on SMOB number at the cost
of some functions call.

The subordinate SMOB allows to select a list
of superclasses, so that the sub-SMOB's class
appears to be derived from already existent classes.

A standalone test is included.

If the thing is accepted I can sign and send the
licence piece of paper.


Attachment: patch-subsmob
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]