Author: Dan Buch <d.b...@modcloth.com> Branch: clean-up-remaining-pypy-rlib-refs Changeset: r61583:69715240f0db Date: 2013-02-21 22:03 -0500 http://bitbucket.org/pypy/pypy/changeset/69715240f0db/
Log: Cleaning up remaining 'pypy[./]rlib' references diff --git a/pypy/doc/ctypes-implementation.rst b/pypy/doc/ctypes-implementation.rst --- a/pypy/doc/ctypes-implementation.rst +++ b/pypy/doc/ctypes-implementation.rst @@ -38,7 +38,7 @@ in dynamic libraries through libffi. Freeing objects in most cases and making sure that objects referring to each other are kept alive is responsibility of the higher levels. -This module uses bindings to libffi which are defined in ``pypy/rlib/libffi.py``. +This module uses bindings to libffi which are defined in ``rpython/rlib/libffi.py``. We tried to keep this module as small as possible. It is conceivable that other implementations (e.g. Jython) could use our ctypes diff --git a/pypy/doc/discussion/improve-rpython.rst b/pypy/doc/discussion/improve-rpython.rst --- a/pypy/doc/discussion/improve-rpython.rst +++ b/pypy/doc/discussion/improve-rpython.rst @@ -39,7 +39,7 @@ - Allocate variables on the stack, and pass their address ("by reference") to llexternal functions. For a typical usage, see - `pypy.rlib.rsocket.RSocket.getsockopt_int`. + `rpython.rlib.rsocket.RSocket.getsockopt_int`. Extensible type system for llexternal ------------------------------------- diff --git a/pypy/doc/stackless.rst b/pypy/doc/stackless.rst --- a/pypy/doc/stackless.rst +++ b/pypy/doc/stackless.rst @@ -273,7 +273,7 @@ more information about them please see the documentation in the C source at `rpython/translator/c/src/stacklet/stacklet.h`_. -The module ``pypy.rlib.rstacklet`` is a thin wrapper around the above +The module ``rpython.rlib.rstacklet`` is a thin wrapper around the above functions. The key point is that new() and switch() always return a fresh stacklet handle (or an empty one), and switch() additionally consumes one. It makes no sense to have code in which the returned diff --git a/rpython/translator/c/src/mem.h b/rpython/translator/c/src/mem.h --- a/rpython/translator/c/src/mem.h +++ b/rpython/translator/c/src/mem.h @@ -4,7 +4,7 @@ #include <string.h> -/* used by pypy.rlib.rstack, but also by asmgcc */ +/* used by rpython.rlib.rstack, but also by asmgcc */ #define OP_STACK_CURRENT(r) r = (Signed)&r diff --git a/rpython/translator/c/src/stack.h b/rpython/translator/c/src/stack.h --- a/rpython/translator/c/src/stack.h +++ b/rpython/translator/c/src/stack.h @@ -18,7 +18,7 @@ char LL_stack_too_big_slowpath(long); /* returns 0 (ok) or 1 (too big) */ void LL_stack_set_length_fraction(double); -/* some macros referenced from pypy.rlib.rstack */ +/* some macros referenced from rpython.rlib.rstack */ #define LL_stack_get_end() ((long)_LLstacktoobig_stack_end) #define LL_stack_get_length() _LLstacktoobig_stack_length #define LL_stack_get_end_adr() ((long)&_LLstacktoobig_stack_end) /* JIT */ _______________________________________________ pypy-commit mailing list pypy-commit@python.org http://mail.python.org/mailman/listinfo/pypy-commit