guile-devel
[Top][All Lists]
Advanced

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

Any reason GUILE_X_VERSION shouldn't be defined in a public header?


From: Rob Browning
Subject: Any reason GUILE_X_VERSION shouldn't be defined in a public header?
Date: Wed, 19 Sep 2001 13:15:45 -0500
User-agent: Gnus/5.090004 (Oort Gnus v0.04) Emacs/20.7

Right now we have at the scheme level:

  version
  major-version
  minor-version
  micro-version

and at the C level

  SCM scm_version (void);
  SCM scm_major_version (void);
  SCM scm_minor_version (void);
  SCM scm_micro_version (void);

Unless someone points out a good reason not to, I'm thinking of also
adding

  #define GUILE_MAJOR_VERSION X
  #define GUILE_MINOR_VERSION Y
  #define GUILE_MICRO_VERSION Z

to version.h so that from now on, apps will be able to use these for
conditional compilation.

Thanks

-- 
Rob Browning
rlb @defaultvalue.org, @linuxdevel.com, and @debian.org
Previously @cs.utexas.edu
GPG=1C58 8B2C FB5E 3F64 EA5C  64AE 78FE E5FE F0CB A0AD



reply via email to

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