The syntax of addinter is the following:
addinter([`interface.o', 'userfiles.o'],'entrypt',['scifcts'])
Here interface.o is the object file of the interface, userfiles.o is the set of user's routines to be linked, entrypt is the entry point of the interface routine and 'scifcts' is the set of Scilab functions to be interfaced.
In the previous example addinter can be called as follows:
addinter(['Examplc.o','foubare2c.o'],'foobar','foubare');