[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
API naming bugs
From: |
Andy Wingo |
Subject: |
API naming bugs |
Date: |
Sun, 25 Dec 2005 19:44:10 -0500 |
Hi,
A few potential API bugs.
1) functions that take C types normally are named scm_c_*. There are a
few exceptions though:
- scm_from_locale_symbol[n] -- here's a confusing name, perhaps
scm_c_symbol_from_locale_string is more apt -- but this function will be
used frequently, so there is an advantage to keeping it short; perhaps
scm_c_symbol_from_locale or scm_c_symbol_from_lstring or
scm_c_symbol_from_lchars?
- scm_frame_begin, unwind_handler, etc -- should change because there
is also a SCM-based scm_frame interface
2) NEWS talks about SCM_FRAME_WIND_EXPLICITELY, but code is (correctly)
EXPLICITLY
Regards,
--
Andy Wingo
http://wingolog.org/
- API naming bugs,
Andy Wingo <=