diff options
author | Maciej Fijalkowski <fijall@gmail.com> | 2014-02-27 14:14:27 +0200 |
---|---|---|
committer | Maciej Fijalkowski <fijall@gmail.com> | 2014-02-27 14:14:27 +0200 |
commit | 66a7e2bd8b4edd3086c11f56c2982d7e16754e95 (patch) | |
tree | 1931d6ba0f543de2e3a8984aae06d49a07070497 /include | |
parent | fix reshape with zero-sized array (diff) | |
download | pypy-66a7e2bd8b4edd3086c11f56c2982d7e16754e95.tar.gz pypy-66a7e2bd8b4edd3086c11f56c2982d7e16754e95.tar.bz2 pypy-66a7e2bd8b4edd3086c11f56c2982d7e16754e95.zip |
fix those things (maybe?)
Diffstat (limited to 'include')
-rw-r--r-- | include/PyPy.h | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/include/PyPy.h b/include/PyPy.h index b94fc890df..70e97e2ac5 100644 --- a/include/PyPy.h +++ b/include/PyPy.h @@ -8,16 +8,12 @@ extern "C" { #endif -/* You should call this first once. */ -#define pypy_init(need_threads) do { pypy_asm_stack_bottom(); \ -rpython_startup_code();\ - if (need_threads) pypy_init_threads(); } while (0) +// call this first +char* rpython_startup_code(void); -// deprecated interface -void rpython_startup_code(void); +// pypy_init_threads has to be called in case you want to use threads void pypy_init_threads(void); - /* Initialize the home directory of PyPy. It is necessary to call this. Call it with "home" being the file name of the libpypy.so, for |