foreach my $x (@{$self->{_grid_options}->{C_auto_logging}->{$header}})
{
$code .= '%g ';
}
$code .= '\n"';
foreach my $x (@{$self->{_grid_options}->{C_auto_logging}->{$header}})
{
$code .= ',((double)stardata->'.$x.')';
}
$code .= ');'
}
}
}
print "MADE AUTO CODE \n\n************************************************************\n\n$code\n\n************************************************************\n";
return $code;
}
*** DONE Make function in python that puts code into c function
CLOSED: [2019-10-31 Thu 11:13]
*** DONE Make function in python that generates c-function from a list of arguments