[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Guile-commits] GNU Guile branch, stable-2.0, updated. v2.0.9-90-gd7794a
From: |
Andy Wingo |
Subject: |
[Guile-commits] GNU Guile branch, stable-2.0, updated. v2.0.9-90-gd7794a9 |
Date: |
Thu, 03 Oct 2013 18:37:55 +0000 |
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Guile".
http://git.savannah.gnu.org/cgit/guile.git/commit/?id=d7794a9d07ba657a29f7e608c3e558c437806def
The branch, stable-2.0 has been updated
via d7794a9d07ba657a29f7e608c3e558c437806def (commit)
from 8df68898b9f6ba15171244f1f3549688f13d605f (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit d7794a9d07ba657a29f7e608c3e558c437806def
Author: Andy Wingo <address@hidden>
Date: Thu Oct 3 19:45:41 2013 +0200
Deprecate scm_c_program_source, as it has no internal users.
* libguile/programs.c:
* libguile/programs.h:
* libguile/deprecated.h:
* libguile/deprecated.c (scm_c_program_source): Deprecate.
-----------------------------------------------------------------------
Summary of changes:
libguile/deprecated.c | 12 ++++++++++++
libguile/deprecated.h | 4 ++++
libguile/programs.c | 8 +-------
libguile/programs.h | 4 +---
4 files changed, 18 insertions(+), 10 deletions(-)
diff --git a/libguile/deprecated.c b/libguile/deprecated.c
index e1dbfaf..f37b7f1 100644
--- a/libguile/deprecated.c
+++ b/libguile/deprecated.c
@@ -2924,6 +2924,18 @@ SCM_DEFINE (scm_generalized_vector_to_list,
"generalized-vector->list", 1, 0, 0,
+extern SCM
+scm_c_program_source (SCM program, size_t ip)
+{
+ scm_c_issue_deprecation_warning
+ ("scm_c_program_source is deprecated. Use scm_program_source instead.");
+
+ return scm_program_source (program, scm_from_size_t (ip), SCM_UNBOUND);
+}
+
+
+
+
void
scm_i_init_deprecated ()
{
diff --git a/libguile/deprecated.h b/libguile/deprecated.h
index e17542b..6c7bfcc 100644
--- a/libguile/deprecated.h
+++ b/libguile/deprecated.h
@@ -857,6 +857,10 @@ SCM_DEPRECATED SCM scm_generalized_vector_to_list (SCM v);
+SCM_DEPRECATED SCM scm_c_program_source (SCM program, size_t ip);
+
+
+
void scm_i_init_deprecated (void);
#endif
diff --git a/libguile/programs.c b/libguile/programs.c
index b84f84b..d2b2e75 100644
--- a/libguile/programs.c
+++ b/libguile/programs.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2001, 2009, 2010, 2011 Free Software Foundation, Inc.
+/* Copyright (C) 2001, 2009, 2010, 2011, 2013 Free Software Foundation, Inc.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public License
@@ -294,12 +294,6 @@ SCM_DEFINE (scm_program_source, "program-source", 2, 1, 0,
}
#undef FUNC_NAME
-extern SCM
-scm_c_program_source (SCM program, size_t ip)
-{
- return program_source (program, ip, scm_program_sources (program));
-}
-
SCM_DEFINE (scm_program_num_free_variables, "program-num-free-variables", 1,
0, 0,
(SCM program),
"")
diff --git a/libguile/programs.h b/libguile/programs.h
index d0e788e..be2077b 100644
--- a/libguile/programs.h
+++ b/libguile/programs.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 2001, 2009, 2010 Free Software Foundation, Inc.
+/* Copyright (C) 2001, 2009, 2010, 2013 Free Software Foundation, Inc.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public License
@@ -63,8 +63,6 @@ SCM_API SCM scm_program_free_variable_ref (SCM program, SCM
i);
SCM_API SCM scm_program_free_variable_set_x (SCM program, SCM i, SCM x);
SCM_API SCM scm_program_objcode (SCM program);
-SCM_API SCM scm_c_program_source (SCM program, size_t ip);
-
SCM_INTERNAL SCM scm_i_program_properties (SCM program);
SCM_INTERNAL int scm_i_program_arity (SCM program, int *req, int *opt, int
*rest);
SCM_INTERNAL void scm_i_program_print (SCM program, SCM port,
hooks/post-receive
--
GNU Guile
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Guile-commits] GNU Guile branch, stable-2.0, updated. v2.0.9-90-gd7794a9,
Andy Wingo <=