lang: remove references to old mie api
This commit is contained in:
@@ -149,7 +149,8 @@ static void serialise_selector(
|
||||
const char *label = arg->t_str;
|
||||
|
||||
if (label) {
|
||||
fx_stream_write_fmt(out, NULL, "%zu%s", strlen(label), label);
|
||||
fx_stream_write_fmt(
|
||||
out, NULL, "%zu%s", strlen(label), label);
|
||||
} else {
|
||||
fx_stream_write_char(out, '0');
|
||||
}
|
||||
@@ -165,6 +166,7 @@ static enum ivy_status state_fini(
|
||||
struct code_generator_value *result)
|
||||
{
|
||||
debug_printf("codegen: end of msg\n");
|
||||
#if 0
|
||||
|
||||
struct msg_codegen_state *msg = (struct msg_codegen_state *)state;
|
||||
|
||||
@@ -180,7 +182,6 @@ static enum ivy_status state_fini(
|
||||
struct mie_type *ret_type = NULL;
|
||||
const char *value_name = NULL;
|
||||
|
||||
#if 0
|
||||
if (msg->s_flags & CODEGEN_F_IGNORE_RESULT) {
|
||||
ret_type = mie_ctx_get_type(gen->c_ctx, MIE_TYPE_VOID);
|
||||
flags = MIE_BUILDER_IGNORE_RESULT;
|
||||
@@ -188,7 +189,6 @@ static enum ivy_status state_fini(
|
||||
ret_type = mie_ctx_get_type(gen->c_ctx, MIE_TYPE_ID);
|
||||
value_name = "msgtmp";
|
||||
}
|
||||
#endif
|
||||
ret_type = mie_ctx_get_type(gen->c_ctx, MIE_TYPE_ID);
|
||||
value_name = "msgtmp";
|
||||
|
||||
@@ -202,8 +202,9 @@ static enum ivy_status state_fini(
|
||||
|
||||
result->v_type = CODE_GENERATOR_VALUE_MIE_VALUE;
|
||||
result->v_value.mie_value = msg_send;
|
||||
#endif
|
||||
|
||||
return IVY_OK;
|
||||
return IVY_ERR_NOT_SUPPORTED;
|
||||
}
|
||||
|
||||
static struct code_generator_result value_received(
|
||||
|
||||
Reference in New Issue
Block a user