|
Revision 20, 0.9 kB
(checked in by moo, 3 years ago)
|
|
get* proto changes
|
| Line | |
|---|
| 1 | #include "php.h" |
|---|
| 2 | |
|---|
| 3 | #define OPSPECS(OPSPEC) \ |
|---|
| 4 | OPSPEC(STD) \ |
|---|
| 5 | OPSPEC(UNUSED) \ |
|---|
| 6 | OPSPEC(OPLINE) \ |
|---|
| 7 | OPSPEC(FCALL) \ |
|---|
| 8 | OPSPEC(INIT_FCALL) \ |
|---|
| 9 | OPSPEC(ARG) \ |
|---|
| 10 | OPSPEC(CAST) \ |
|---|
| 11 | OPSPEC(FETCH) \ |
|---|
| 12 | OPSPEC(DECLARE) \ |
|---|
| 13 | OPSPEC(SEND) \ |
|---|
| 14 | OPSPEC(SEND_NOREF) \ |
|---|
| 15 | OPSPEC(FCLASS) \ |
|---|
| 16 | OPSPEC(UCLASS) \ |
|---|
| 17 | OPSPEC(CLASS) \ |
|---|
| 18 | OPSPEC(FE) \ |
|---|
| 19 | OPSPEC(IFACE) \ |
|---|
| 20 | OPSPEC(ISSET) \ |
|---|
| 21 | OPSPEC(BIT) \ |
|---|
| 22 | OPSPEC(VAR) \ |
|---|
| 23 | OPSPEC(TMP) \ |
|---|
| 24 | OPSPEC(JMPADDR) \ |
|---|
| 25 | OPSPEC(BRK) \ |
|---|
| 26 | OPSPEC(CONT) \ |
|---|
| 27 | OPSPEC(INCLUDE) \ |
|---|
| 28 | OPSPEC(ASSIGN) |
|---|
| 29 | |
|---|
| 30 | #define OPSPECS_DEF_ENUM(name) OPSPEC_##name, |
|---|
| 31 | typedef enum { OPSPECS(OPSPECS_DEF_ENUM) } xc_op_spec_t; |
|---|
| 32 | |
|---|
| 33 | typedef struct { |
|---|
| 34 | xc_op_spec_t ext; |
|---|
| 35 | xc_op_spec_t op1; |
|---|
| 36 | xc_op_spec_t op2; |
|---|
| 37 | xc_op_spec_t res; |
|---|
| 38 | } xc_opcode_spec_t; |
|---|
| 39 | |
|---|
| 40 | const xc_opcode_spec_t *xc_get_opcode_spec(zend_uchar opcode); |
|---|
| 41 | zend_uchar xc_get_opcode_spec_count(); |
|---|
| 42 | zend_uchar xc_get_op_spec_count(); |
|---|
| 43 | const char *xc_get_op_spec(zend_uchar spec); |
|---|