hello_sip - Learn to add your own C routine to SIP
"hello_sip" is a very simple example routine. The aim is that new developers know quickly how to add a new C-language implemented function to SIP.
The following files in the SIP sourcecode tree are related to the implementation of hello_sip:
src/hello_int.c --
interfaces C to Scilab
config/libsip_build.sce --
specifies the interface source files and scilab name; this
script is ran by Scilab to compile the interface C routines
into a shared library.
From AnImaL (aminal.sourceforge.net),
animal/hello.c --
routine that returns a+b
animal/hello.h --
header with the prototype of hello
animal/animal.h
general header for the internal C library
http://siptoolbox.sourceforge.net
In the SIP source tree, start with the "hello.c" file inside the directory "src".
Obsolete: Figure 1 of the first SIP monograph (written in portuguese), which may be found in the SIP home page. SIP now uses an independent computer vision library, AnImaL, for its internal processing. See:
Moreover, in the scilab source tree, the directories "examples/interface-tour-so" and "examples/interface-tutorial-so" provide detailed information on interfacing C and Scilab.