dstep
dstep copied to clipboard
inline functions
In the C header file is:
static inline void dvb_file_free(struct dvb_file *dvb_file)
{
struct dvb_entry *entry = dvb_file->first_entry, *next;
while (entry) {
next = entry->next;
if (entry->channel)
free(entry->channel);
if (entry->vchannel)
free(entry->vchannel);
if (entry->location)
free(entry->location);
if (entry->video_pid)
free(entry->video_pid);
if (entry->audio_pid)
free(entry->audio_pid);
if (entry->other_el_pid)
free(entry->other_el_pid);
if (entry->lnb)
free(entry->lnb);
free(entry);
entry = next;
}
free(dvb_file);
}
this gets translated by DStep to:
void dvb_file_free (dvb_file* dvb_file);
which is understandale. The problem is that the function is not compiled into the shared object so there is no symbol to refer to.
While not impossible, I think it would require quite a lot of work to support inline functions. As a workaround I would recommend translating this function manually and use the --skip
flag.