guile-devel
[Top][All Lists]
Advanced

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

[PATCH] Static allocation of GOOPS' SMOB and port class arrays


From: Ludovic Courtès
Subject: [PATCH] Static allocation of GOOPS' SMOB and port class arrays
Date: Sun, 18 Jan 2009 21:16:17 +0100
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.3 (gnu/linux)

Hello!

In the BDW-GC branch, I committed these two pairs of patches:

  
http://git.savannah.gnu.org/gitweb/?p=guile.git;a=commitdiff;h=c891a40e9fc5f718bfaf6e70f8fd0b19311d14a6
  
http://git.savannah.gnu.org/gitweb/?p=guile.git;a=commitdiff;h=474554694f5618be238054e736540f567a0e02a0

  
http://git.savannah.gnu.org/gitweb/?p=guile.git;a=commitdiff;h=0953b549464e5bf1433e7f0b8a49ac4b464c3c11
  
http://git.savannah.gnu.org/gitweb/?p=guile.git;a=commitdiff;h=63385df2fdc2f9bc70804383f071f2fb74743a86

The first of each pair defines constants for the maximum number of
SMOB/port types and uses them, which clarifies the code.

The second changes `goops.c' so that the `scm_{smob,port}_class' arrays
are statically allocated.

If nobody objects in the next few days, I'll commit them to `master'.

Thanks,
Ludo'.





reply via email to

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