1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-04-30 11:50:28 +02:00
Commit graph

153 commits

Author SHA1 Message Date
Ludovic Courtès
404bb5f87b bytevectors: Add a C-friendly API.
* doc/ref/api-data.texi (Bytevector Manipulation): Add
  `scm_is_bytevector ()', `scm_c_bytevector_length ()',
  `scm_c_bytevector_length ()', and `scm_c_bytevector_set_x ()'.

* libguile/bytevectors.c (scm_is_bytevector, scm_c_bytevector_length,
  scm_c_bytevector_ref, scm_c_bytevector_set_x): New functions.
  (scm_bytevector_p): Use `scm_is_bytevector ()'.
  (scm_bytevector_length): Use `scm_c_bytevector_length ()'.

* libguile/bytevectors.h (scm_is_bytevector, scm_c_bytevector_length,
  scm_c_bytevector_ref, scm_c_bytevector_set_x): New declarations.
2009-06-22 01:05:43 +02:00
Ludovic Courtès
2d34e9244b bytevectors: Use size_t' rather than unsigned' for sizes.
* doc/ref/api-data.texi (Bytevector Manipulation): Update.

* libguile/bytevectors.c (INTEGER_ACCESSOR_PROLOGUE,
  make_bytevector_from_buffer, scm_c_make_bytevector,
  scm_c_take_bytevector, scm_i_shrink_bytevector): Use `size_t' for
  bytevector lengths.
2009-06-22 01:00:41 +02:00
Ludovic Courtès
d64fc8b039 Fix documentation of `make-bytevector'.
* doc/ref/api-data.texi (Bytevector Manipulation): Fix documentation of
  the FILL argument of `make-bytevector'.
2009-06-22 00:58:11 +02:00
Ludovic Courtès
b242715b28 Import documentation for the R6RS bytevector and port APIs.
* doc/ref/api-compound.texi (Uniform Numeric Vectors): Add xref to the
  bytevector API.

* doc/ref/api-data.texi (Bytevectors): New node.

* doc/ref/api-io.texi (R6RS I/O Ports): New node.
2009-06-18 23:20:56 +02:00
Neil Jerram
877f06c338 Fix explicitely' typos, should be explicitly' 2009-05-20 18:51:03 +01:00
Ludovic Courtès
071bb6a840 Add `scm_c_symbol_length ()'. 2008-07-05 20:16:12 +02:00
Ludovic Courtès
189681f55b Add `(srfi srfi-88)'. 2008-04-26 19:34:37 +02:00
Ludovic Courtès
ef4cbc08c8 Add support for SRFI-88-like postfix keyword read syntax. 2008-04-15 19:52:43 +02:00
Neil Jerram
b226295af8 Release stuff: missing NEWS and 2007/2008 copyrights. 2008-02-15 23:13:59 +00:00
Neil Jerram
8c726cf0b4 (Random): New text about the default random state,
following suggestions by Stephen Uitti.
2008-02-11 22:34:33 +00:00
Ludovic Courtès
b1f57ea4ce Changes from arch/CVS synchronization 2007-07-10 22:34:50 +00:00
Ludovic Courtès
a2f00b9b36 Changes from arch/CVS synchronization 2007-01-31 20:58:20 +00:00
Kevin Ryde
9a18d8d431 merge from 1.8 2007-01-15 23:22:36 +00:00
Ludovic Courtès
b89c494395 Changes from arch/CVS synchronization 2006-11-18 18:14:55 +00:00
Kevin Ryde
40296bab81 merge from 1.8 branch 2006-10-09 22:47:06 +00:00
Neil Jerram
4695789c02 (Symbol Props): Remove unnecessarily specific
parenthesis about Guile 1.6's use of extra symbol slots.
2006-09-28 07:32:40 +00:00
Ludovic Courtès
49dec04b6a Changes from arch/CVS synchronization 2006-09-20 13:13:34 +00:00
Neil Jerram
9f1ba6a9a4 Doc typo fixes 2006-09-15 09:23:18 +00:00
Kevin Ryde
1b09b607dd merge from 1.8 branch 2006-04-16 23:18:55 +00:00
Marius Vollmer
661ae7ab6b Renamed the "frames" that are related to dynamic-wind to "dynamic
contexts.  Renamed all functions from scm_frame_ to scm_dynwind_.
Updated documentation.
2006-01-29 00:23:28 +00:00
Han-Wen Nienhuys
fd0a5bbcb7 patches by Ludovic Courtès for symbol generation. 2006-01-24 20:30:09 +00:00
Kevin Ryde
083f9d74d1 (Regexp Functions): Notes on zero bytes and locale character set. 2005-10-05 01:24:12 +00:00
Kevin Ryde
dc297bb75b (String Selection): Merge descriptions of string-trim,
string-trim-right and string-trim-both for brevity.
2005-07-12 00:47:17 +00:00
Kevin Ryde
a88e2a9628 (String Selection): In string-pad, don't say anything
about sharing strings, decided against doing that.
(Miscellaneous String Operations): Ditto in string-filter and
string-delete.
2005-07-12 00:42:10 +00:00
Kevin Ryde
08de3e2424 (Miscellaneous String Operations): In string-filter
and string-delete, note result may share with input string (as allowed
by srfi spec).
2005-06-10 22:38:57 +00:00
Kevin Ryde
bba26c3211 (String Constructors): Clarify string, list->string
and reverse-list->string a bit.
2005-05-02 23:26:47 +00:00
Kevin Ryde
a285fb8653 (Regexp Functions): Add list-matches and fold-matches. 2005-04-22 23:12:55 +00:00
Kevin Ryde
36c7474e54 (Regexp Functions): Clarity flags parameter. 2005-04-18 22:46:54 +00:00
Kevin Ryde
34942993e6 (Reals and Rationals): Use tex for sqrt2 and pi.
(Complex Numbers): Add polar form read syntax.
2005-02-17 21:18:31 +00:00
Kevin Ryde
fd8a1df5b6 (Integer Operations): In gcd and lcm, show args.
(Arithmetic): In truncate, add missing arg.
2005-02-11 21:47:59 +00:00
Kevin Ryde
6337e7fb98 (String Selection): In string-pad and
string-pad-right, clarify which end the padding goes on, and merge
descriptions.
2005-02-11 21:44:44 +00:00
Kevin Ryde
4497bd2f81 (Random): In random:solid-sphere!, there is no return value. 2005-01-14 23:52:02 +00:00
Kevin Ryde
a46648acb3 (Bitwise Operations): In logtest and logbit?, describe
operations in words, not just equivalent expressions.  In
integer-expt, clarify a bit and note negative k allowed and 0^0==1.
2005-01-14 23:20:25 +00:00
Kevin Ryde
2a7820f22c (Mapping Folding and Unfolding): In
string-for-each-index, make it clear iteration is over indices.
2005-01-13 23:49:10 +00:00
Kevin Ryde
909fcc9721 Typo in integer? 2004-12-28 00:24:03 +00:00
Kevin Ryde
c100a12ce7 (String Predicates): For string-any and string-every,
last chars are now tail calls per srfi, and reinstate char_pred can be
character or character set (somehow lost in cut and paste).
2004-12-28 00:16:58 +00:00
Kevin Ryde
a13befdcd3 (Regexp Functions): Revise regex-substitute and
regex-substitute/global for clarity, add some examples.
2004-12-13 22:37:31 +00:00
Marius Vollmer
7719ef2234 * api-data.texi: Removed primitive keyword section, updated
keyword docs.

* api-undocumented.texi: Moved keyword dash-symbol docs here.
2004-10-04 18:54:18 +00:00
Kevin Ryde
4846ae2c96 (Conversion to/from C): Braces {} around char* return. 2004-09-25 22:32:24 +00:00
Marius Vollmer
052567604f Docs for substring/read-only. 2004-09-22 14:46:18 +00:00
Marius Vollmer
0896292232 docs for scm_to_mpz and scm_from_mpz. 2004-09-21 00:43:34 +00:00
Marius Vollmer
719305cfe6 (integer-expt): Updated from docstring. 2004-09-08 16:59:49 +00:00
Marius Vollmer
c9dc8c6cec Additions. 2004-08-25 19:03:14 +00:00
Marius Vollmer
5676b4fab7 Moved docs for SRFI-14 into main API chapter. Updated docstrings from
libguile/.
2004-08-25 13:40:21 +00:00
Marius Vollmer
050ab45f56 Moved docs for SRFI-14 into main API chapter. Updated docstrings from
libguile/.
2004-08-24 23:33:39 +00:00
Marius Vollmer
cdf1ad3bc9 Ran a (docstring-process-module "(guile)") and moved entries from
new-docstrings.texi to their appropriate place.
2004-08-24 16:40:54 +00:00
Marius Vollmer
c48c62d085 (Strings): Document copy-on-write behavior and
mutation-sharing substrings.
(Symbols): Document scm_from_locale_symbol and
scm_from_locale_symboln.
2004-08-19 18:53:40 +00:00
Marius Vollmer
35da08ee37 (scm_c_round, scm_c_truncate): Docs for'em. 2004-08-11 19:36:55 +00:00
Marius Vollmer
c88453e881 Typos. 2004-08-10 15:58:57 +00:00
Marius Vollmer
91210d629f Docs for scm_is_string, scm_to_locale_string*, and
scm_from_locale_string*.
2004-08-10 14:15:33 +00:00