mirror of git://git.psyced.org/git/psyclpc
pkg-psyc: added stateop param
This commit is contained in:
parent
86f45a5d4f
commit
2ecc1aa9bd
|
@ -112,7 +112,7 @@ fill_header_from_mapping (svalue_t *key, svalue_t *val, void *extra) {
|
||||||
if (m->num_values > 1)
|
if (m->num_values > 1)
|
||||||
oper = val[1].u.number;
|
oper = val[1].u.number;
|
||||||
if (!oper)
|
if (!oper)
|
||||||
oper = C_GLYPH_OPERATOR_SET;
|
oper = PSYC_OPERATOR_SET;
|
||||||
|
|
||||||
switch (val->type) {
|
switch (val->type) {
|
||||||
case T_STRING:
|
case T_STRING:
|
||||||
|
@ -263,7 +263,8 @@ f_psyc_render(svalue_t *sp) {
|
||||||
headers[PACKET_ROUTING].lines,
|
headers[PACKET_ROUTING].lines,
|
||||||
headers[PACKET_ENTITY].modifiers,
|
headers[PACKET_ENTITY].modifiers,
|
||||||
headers[PACKET_ENTITY].lines,
|
headers[PACKET_ENTITY].lines,
|
||||||
meth, mlen, body, blen,
|
meth, mlen, body, blen,
|
||||||
|
PSYC_STATE_NOOP, // TODO: add support for state ops
|
||||||
PSYC_PACKET_CHECK_LENGTH);
|
PSYC_PACKET_CHECK_LENGTH);
|
||||||
|
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
|
|
Loading…
Reference in New Issue