[Top][All Lists]

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

optionals in C procedures

From: Zeeshan Ali (Khattak)
Subject: optionals in C procedures
Date: Sun, 4 Apr 2010 18:15:00 +0300

  As soon as I updated my guile installation from git master, the test
app in my guile-gir project started to fail. On a bit of
investigation, I found out that the problem is in this code:

static SCM
scm_g_irepository_require (SCM scm_repository,
                                                 SCM scm_namespace,
                                                 SCM scm_version,
                                                 SCM scm_flags)
        const char *version;

        if (SCM_UNBNDP (scm_version))
                version = NULL;
                version = scm_to_locale_string (scm_version);

        scm_c_define_gsubr ("g-irepository-require", 2, 2, 0,


   Whats happening is that my scheme code is not passing any value to
the optional argument version and guile is not making sure that the
argument is unbound. Is this a regression or some intentional change?


Zeeshan Ali (Khattak)
FSF member#5124

reply via email to

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