diff options
author | Zeev Suraski <zeev@php.net> | 2001-07-28 11:36:37 +0000 |
---|---|---|
committer | Zeev Suraski <zeev@php.net> | 2001-07-28 11:36:37 +0000 |
commit | d87cc976e1156b839fc6d4aa6b473a126802b8e3 (patch) | |
tree | 8acb068dd7458e1c8df3a7d8ecb87d065990fdb1 /ext/sablot/php_sablot.h | |
parent | b4f3b9d3ce9f55cf040fb5aa8f201c64646cab43 (diff) | |
download | php-git-d87cc976e1156b839fc6d4aa6b473a126802b8e3.tar.gz |
Redesigned thread safety mechanism - nua nua
Diffstat (limited to 'ext/sablot/php_sablot.h')
-rw-r--r-- | ext/sablot/php_sablot.h | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/ext/sablot/php_sablot.h b/ext/sablot/php_sablot.h index b6c55962d8..38f3dc0ef7 100644 --- a/ext/sablot/php_sablot.h +++ b/ext/sablot/php_sablot.h @@ -119,21 +119,9 @@ typedef struct { #ifdef ZTS -#define SABLOTG(v) (sablot_globals->v) -#define SABLOTLS_FETCH() php_sablot_globals *sablot_globals = ts_resource(sablot_globals_id) -#define SABLOTG_HANDLE (*sablot_globals) -#define SABLOTLS_C sablot_globals -#define SABLOTLS_CC , SABLOTLS_C -#define SABLOTLS_D php_sablot_globals *sablot_globals -#define SABLOTLS_DC , SABLOTLS_D +#define SABLOTG(v) TSRMG(sablot_globals_id, php_sablot_globals *, v) #else #define SABLOTG(v) (sablot_globals.v) -#define SABLOTG_HANDLE sablot_globals -#define SABLOTLS_FETCH() -#define SABLOTLS_C -#define SABLOTLS_CC -#define SABLOTLS_D -#define SABLOTLS_DC #endif #else |