HELLO_SIP

NAME
SYNOPSIS
PARAMETERS
DESCRIPTION
AUTHORS
AVAILABILITY
SEE ALSO

NAME

hello_sip - learn to add your own C routine to SIP

SYNOPSIS

sum = hello_sip(a,b)

PARAMETERS

a
double-precision scalar
b
double-precision scalar
c
double-precision scalar

DESCRIPTION

"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.
hello_sip(a,b) simply returns a + b through a C routine.
The following files in the SIP sourcecode tree are related to the implementation of hello_sip:
src/hello_int.c --
interfaces C to Scilab
src/builder.sce --
specifies the interface 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
From AnImaL (aminal.sourceforge.net),
animal/hello.h -- header with the prototype of hello
From AnImaL (aminal.sourceforge.net),
animal/animal.h general header for the internal C library

AUTHORS

Ricardo Fabbri <rfabbri@if.sc.usp.br>

AVAILABILITY

The latest version of the Scilab Image Processing toolbox can be found at
http://siptoolbox.sourceforge.net

SEE ALSO

In the SIP source tree, start with the "hello.c" file inside the directory "src".
Obsoleted: 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: http://animal.sourceforge.net
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.