[pypy-commit] pypy py3k: RPY_EXPORTED_FOR_TESTS -> RPY_EXTERN
pjenvey
noreply at buildbot.pypy.org
Mon Nov 17 22:50:56 CET 2014
Author: Philip Jenvey <pjenvey at underboss.org>
Branch: py3k
Changeset: r74566:a9d6e26dcb96
Date: 2014-11-17 13:11 -0800
http://bitbucket.org/pypy/pypy/changeset/a9d6e26dcb96/
Log: RPY_EXPORTED_FOR_TESTS -> RPY_EXTERN
diff --git a/pypy/module/_codecs/locale_codec.h b/pypy/module/_codecs/locale_codec.h
--- a/pypy/module/_codecs/locale_codec.h
+++ b/pypy/module/_codecs/locale_codec.h
@@ -2,7 +2,7 @@
#include <wchar.h>
#include "src/precommondefs.h"
-RPY_EXPORTED_FOR_TESTS wchar_t* pypy_char2wchar(const char* arg, size_t *size);
-RPY_EXPORTED_FOR_TESTS void pypy_char2wchar_free(wchar_t *text);
-RPY_EXPORTED_FOR_TESTS char* pypy_wchar2char(const wchar_t *text, size_t *error_pos);
-RPY_EXPORTED_FOR_TESTS void pypy_wchar2char_free(char *bytes);
+RPY_EXTERN wchar_t* pypy_char2wchar(const char* arg, size_t *size);
+RPY_EXTERN void pypy_char2wchar_free(wchar_t *text);
+RPY_EXTERN char* pypy_wchar2char(const wchar_t *text, size_t *error_pos);
+RPY_EXTERN void pypy_wchar2char_free(char *bytes);
diff --git a/pypy/module/_posixsubprocess/_posixsubprocess.h b/pypy/module/_posixsubprocess/_posixsubprocess.h
--- a/pypy/module/_posixsubprocess/_posixsubprocess.h
+++ b/pypy/module/_posixsubprocess/_posixsubprocess.h
@@ -1,6 +1,6 @@
#include "src/precommondefs.h"
-RPY_EXPORTED_FOR_TESTS void
+RPY_EXTERN void
pypy_subprocess_child_exec(
char *const exec_array[],
char *const argv[],
@@ -17,8 +17,8 @@
int (*preexec_fn)(void*),
void *preexec_fn_arg);
-RPY_EXPORTED_FOR_TESTS int
+RPY_EXTERN int
pypy_subprocess_cloexec_pipe(int *fds);
-RPY_EXPORTED_FOR_TESTS void
+RPY_EXTERN void
pypy_subprocess_init(void);
diff --git a/pypy/module/posix/interp_nt.py b/pypy/module/posix/interp_nt.py
--- a/pypy/module/posix/interp_nt.py
+++ b/pypy/module/posix/interp_nt.py
@@ -24,7 +24,7 @@
includes=['windows.h'],
include_dirs=[cdir],
post_include_bits=[
- "RPY_EXPORTED_FOR_TESTS DWORD "
+ "RPY_EXTERN DWORD "
"pypy_GetFinalPathNameByHandle(FARPROC, HANDLE, LPTSTR, DWORD, DWORD);"],
separate_module_sources=[separate_module_source])
pypy_GetFinalPathNameByHandle = rffi.llexternal(
More information about the pypy-commit
mailing list