Changeset 23
- Timestamp:
- 04/15/06 04:51:36 (7 years ago)
- Files:
-
- trunk/fastxsl.c (modified) (2 diffs)
- trunk/php_fastxsl.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/fastxsl.c
r22 r23 408 408 409 409 #endif 410 /* }}} */ 411 412 /* {{{ proto array fastxsl_version(void) 413 Returns the version number */ 414 PHP_FUNCTION(fastxsl_version) 415 { 416 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "") == FAILURE) { 417 return; 418 } 419 RETURN_STRING(PHP_FASTXSL_VERSION, 1); 420 } 421 410 422 /* }}} */ 411 423 … … 938 950 PHP_FE(fastxsl_shmcache_getstatistics, NULL) 939 951 #endif 952 PHP_FE(fastxsl_version, NULL) 940 953 PHP_FE(fastxsl_prmcache_transform, NULL) 941 954 PHP_FE(fastxsl_nocache_transform, NULL) trunk/php_fastxsl.h
r21 r23 105 105 } zend_fastxsl_globals; 106 106 107 #define PHP_FASTXSL_VERSION "1.0" 108 107 109 #ifdef ZTS 108 110 #define FASTXSL_G(v) TSRMG(fastxsl_globals_id, zend_fastxsl_globals *, v)
