PHP Classes

File: ext/kernel/concat.h

Recommend this page to a friend!
  Classes of Andrew Collington   iWire PHP Raspberry PI GPIO Class   ext/kernel/concat.h   Download  
File: ext/kernel/concat.h
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: iWire PHP Raspberry PI GPIO Class
Control a Raspberry PI board using GPIO
Author: By
Last change:
Date: 6 years ago
Size: 4,060 bytes
 

Contents

Class file image Download
#ifndef ZEPHIR_KERNEL_CONCAT_H #define ZEPHIR_KERNEL_CONCAT_H #include <php.h> #include <Zend/zend.h> #include "kernel/main.h" #define ZEPHIR_CONCAT_SS(result, op1, op2) \ zephir_concat_ss(&result, op1, sizeof(op1)-1, op2, sizeof(op2)-1, 0 TSRMLS_CC); #define ZEPHIR_SCONCAT_SS(result, op1, op2) \ zephir_concat_ss(&result, op1, sizeof(op1)-1, op2, sizeof(op2)-1, 1 TSRMLS_CC); #define ZEPHIR_CONCAT_SSSSSSS(result, op1, op2, op3, op4, op5, op6, op7) \ zephir_concat_sssssss(&result, op1, sizeof(op1)-1, op2, sizeof(op2)-1, op3, sizeof(op3)-1, op4, sizeof(op4)-1, op5, sizeof(op5)-1, op6, sizeof(op6)-1, op7, sizeof(op7)-1, 0 TSRMLS_CC); #define ZEPHIR_SCONCAT_SSSSSSS(result, op1, op2, op3, op4, op5, op6, op7) \ zephir_concat_sssssss(&result, op1, sizeof(op1)-1, op2, sizeof(op2)-1, op3, sizeof(op3)-1, op4, sizeof(op4)-1, op5, sizeof(op5)-1, op6, sizeof(op6)-1, op7, sizeof(op7)-1, 1 TSRMLS_CC); #define ZEPHIR_CONCAT_SSV(result, op1, op2, op3) \ zephir_concat_ssv(&result, op1, sizeof(op1)-1, op2, sizeof(op2)-1, op3, 0 TSRMLS_CC); #define ZEPHIR_SCONCAT_SSV(result, op1, op2, op3) \ zephir_concat_ssv(&result, op1, sizeof(op1)-1, op2, sizeof(op2)-1, op3, 1 TSRMLS_CC); #define ZEPHIR_CONCAT_SV(result, op1, op2) \ zephir_concat_sv(&result, op1, sizeof(op1)-1, op2, 0 TSRMLS_CC); #define ZEPHIR_SCONCAT_SV(result, op1, op2) \ zephir_concat_sv(&result, op1, sizeof(op1)-1, op2, 1 TSRMLS_CC); #define ZEPHIR_CONCAT_SVS(result, op1, op2, op3) \ zephir_concat_svs(&result, op1, sizeof(op1)-1, op2, op3, sizeof(op3)-1, 0 TSRMLS_CC); #define ZEPHIR_SCONCAT_SVS(result, op1, op2, op3) \ zephir_concat_svs(&result, op1, sizeof(op1)-1, op2, op3, sizeof(op3)-1, 1 TSRMLS_CC); #define ZEPHIR_CONCAT_SVSV(result, op1, op2, op3, op4) \ zephir_concat_svsv(&result, op1, sizeof(op1)-1, op2, op3, sizeof(op3)-1, op4, 0 TSRMLS_CC); #define ZEPHIR_SCONCAT_SVSV(result, op1, op2, op3, op4) \ zephir_concat_svsv(&result, op1, sizeof(op1)-1, op2, op3, sizeof(op3)-1, op4, 1 TSRMLS_CC); #define ZEPHIR_CONCAT_VS(result, op1, op2) \ zephir_concat_vs(&result, op1, op2, sizeof(op2)-1, 0 TSRMLS_CC); #define ZEPHIR_SCONCAT_VS(result, op1, op2) \ zephir_concat_vs(&result, op1, op2, sizeof(op2)-1, 1 TSRMLS_CC); #define ZEPHIR_CONCAT_VV(result, op1, op2) \ zephir_concat_vv(&result, op1, op2, 0 TSRMLS_CC); #define ZEPHIR_SCONCAT_VV(result, op1, op2) \ zephir_concat_vv(&result, op1, op2, 1 TSRMLS_CC); #define ZEPHIR_CONCAT_VVV(result, op1, op2, op3) \ zephir_concat_vvv(&result, op1, op2, op3, 0 TSRMLS_CC); #define ZEPHIR_SCONCAT_VVV(result, op1, op2, op3) \ zephir_concat_vvv(&result, op1, op2, op3, 1 TSRMLS_CC); void zephir_concat_ss(zval **result, const char *op1, zend_uint op1_len, const char *op2, zend_uint op2_len, int self_var TSRMLS_DC); void zephir_concat_sssssss(zval **result, const char *op1, zend_uint op1_len, const char *op2, zend_uint op2_len, const char *op3, zend_uint op3_len, const char *op4, zend_uint op4_len, const char *op5, zend_uint op5_len, const char *op6, zend_uint op6_len, const char *op7, zend_uint op7_len, int self_var TSRMLS_DC); void zephir_concat_ssv(zval **result, const char *op1, zend_uint op1_len, const char *op2, zend_uint op2_len, zval *op3, int self_var TSRMLS_DC); void zephir_concat_sv(zval **result, const char *op1, zend_uint op1_len, zval *op2, int self_var TSRMLS_DC); void zephir_concat_svs(zval **result, const char *op1, zend_uint op1_len, zval *op2, const char *op3, zend_uint op3_len, int self_var TSRMLS_DC); void zephir_concat_svsv(zval **result, const char *op1, zend_uint op1_len, zval *op2, const char *op3, zend_uint op3_len, zval *op4, int self_var TSRMLS_DC); void zephir_concat_vs(zval **result, zval *op1, const char *op2, zend_uint op2_len, int self_var TSRMLS_DC); void zephir_concat_vv(zval **result, zval *op1, zval *op2, int self_var TSRMLS_DC); void zephir_concat_vvv(zval **result, zval *op1, zval *op2, zval *op3, int self_var TSRMLS_DC); void zephir_concat_function(zval *result, zval *op1, zval *op2 TSRMLS_DC); #endif /* ZEPHIR_KERNEL_CONCAT_H */