File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -80,7 +80,7 @@ codec.start_write_union({$self}discriminator)
8080{#--------------- function ---------------#}
8181{% elif info.type == "function" %}
8282{% if info.tableName != "" %}
83- {$codec}.write_int32 ({$ info.tableName}.index({$name})){%>%}
83+ {$codec}.write_int8 ({$ info.tableName}.index({$name})){%>%}
8484{% else %}
8585# When are defined less than 2 callback functions, eRPC don't need serialize any code.
8686{% endif%}
@@ -171,7 +171,7 @@ _n{$depth} = {$codec}.start_read_list()
171171{#--------------- function ---------------#}
172172{% elif info.type == "function" %}
173173{% if info.tableName != "" %}
174- {$name} = {$ info.tableName}[{$codec}.read_int32 ()]
174+ {$name} = {$ info.tableName}[{$codec}.read_int8 ()]
175175{% else %}
176176# When are defined less than 2 callback functions, eRPC don't need serialize any code.
177177{$indent}{$name} = {$info.callbackName}
You can’t perform that action at this time.
0 commit comments