~ubuntu-branches/ubuntu/hoary/scilab/hoary

« back to all changes in this revision

Viewing changes to examples/mex-examples/mexglx/libtst.c

  • Committer: Bazaar Package Importer
  • Author(s): Torsten Werner
  • Date: 2005-01-09 22:58:21 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20050109225821-473xr8vhgugxxx5j
Tags: 3.0-12
changed configure.in to build scilab's own malloc.o, closes: #255869

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#include <mex.h>
 
2
extern Gatefunc mexFunction;
 
3
static GenericTable Tab[]={
 
4
  {mex_gateway,mexFunction,"errmsg"},
 
5
};
 
6
 
 
7
int C2F(libtst)()
 
8
{
 
9
  Rhs = Max(0, Rhs);
 
10
  (*(Tab[Fin-1].f))(Tab[Fin-1].name,Tab[Fin-1].F);
 
11
  return 0;
 
12
}
 
13