31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
# File 'ext/openc3/ext/tabbed_plots_config/tabbed_plots_config.c', line 31
static VALUE process_packet_in_each_data_object(VALUE self, VALUE data_objects, VALUE packet, VALUE packet_count)
{
int index = 0;
long length = 0;
volatile VALUE data_object = Qnil;
length = RARRAY_LEN(data_objects);
if (length > 0)
{
for (index = 0; index < length; index++)
{
data_object = rb_ary_entry(data_objects, index);
rb_funcall(data_object, id_method_process_packet, 2, packet, packet_count);
}
}
return Qnil;
}
|