com php-src: Add BEGIN_EXTERN_C() and END_EXTERN _C() to .h files missing them.: Zend/ze nd_float.h Zend/zend_vm.h Zend/zend_vm_opcodes .h

From: Date: Fri, 31 Oct 2014 17:08:17 +0000
Subject: com php-src: Add BEGIN_EXTERN_C() and END_EXTERN _C() to .h files missing them.: Zend/ze nd_float.h Zend/zend_vm.h Zend/zend_vm_opcodes .h
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-83268@lists.php.net to get a copy of this message
Commit: 5b5f99ef1877d4d77d188d86dd03874135f05c7b Author: Adam Harvey <aharvey@php.net> Wed, 24 Sep 2014 20:00:25 +0000 Parents: 551593707384364705cd954a52c6e4089805f0ef Branches: PHP-5.5 PHP-5.6 master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=5b5f99ef1877d4d77d188d86dd03874135f05c7b Log: Add BEGIN_EXTERN_C() and END_EXTERN_C() to .h files missing them. Changed paths: M Zend/zend_float.h M Zend/zend_vm.h M Zend/zend_vm_opcodes.h Diff: diff --git a/Zend/zend_float.h b/Zend/zend_float.h index 33f8e93..d9e4f4b 100644 --- a/Zend/zend_float.h +++ b/Zend/zend_float.h @@ -21,6 +21,8 @@ #ifndef ZEND_FLOAT_H #define ZEND_FLOAT_H +BEGIN_EXTERN_C() + /* Define functions for FP initialization and de-initialization. */ @@ -28,6 +30,8 @@ extern ZEND_API void zend_init_fpu(TSRMLS_D); extern ZEND_API void zend_shutdown_fpu(TSRMLS_D); extern ZEND_API void zend_ensure_fpu_mode(TSRMLS_D); +END_EXTERN_C() + /* Copy of the contents of xpfpa.h (which is under public domain) See http://wiki.php.net/rfc/rounding for details. diff --git a/Zend/zend_vm.h b/Zend/zend_vm.h index 078be15..e403e7c 100644 --- a/Zend/zend_vm.h +++ b/Zend/zend_vm.h @@ -21,9 +21,13 @@ #ifndef ZEND_VM_H #define ZEND_VM_H +BEGIN_EXTERN_C() + ZEND_API void zend_vm_use_old_executor(void); ZEND_API void zend_vm_set_opcode_handler(zend_op* opcode); +END_EXTERN_C() + #define ZEND_VM_SET_OPCODE_HANDLER(opline) zend_vm_set_opcode_handler(opline) #endif diff --git a/Zend/zend_vm_opcodes.h b/Zend/zend_vm_opcodes.h index 4ed726d..89a1afa 100644 --- a/Zend/zend_vm_opcodes.h +++ b/Zend/zend_vm_opcodes.h @@ -21,8 +21,12 @@ #ifndef ZEND_VM_OPCODES_H #define ZEND_VM_OPCODES_H +BEGIN_EXTERN_C() + ZEND_API const char *zend_get_opcode_name(zend_uchar opcode); +END_EXTERN_C() + #define ZEND_NOP 0 #define ZEND_ADD 1 #define ZEND_SUB 2

« previous php.cvs (#83268) next »