def insert_function(self, fname, ftype):
index = self.insert_id(fname, SharedData.KINDS.FUNCTION, [SharedData.KINDS.GLOBAL_VAR, SharedData.KINDS.FUNCTION], ftype)<EOL>self.table[index].set_attribute("<STR_LIT>",<NUM_LIT:0>)<EOL>return index<EOL>
Inserts a new function