File: util.h

package info (click to toggle)
sciscipy 1.0.1-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 384 kB
  • ctags: 197
  • sloc: ansic: 1,213; python: 326; makefile: 8
file content (32 lines) | stat: -rw-r--r-- 585 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#ifndef _UTIL_H
#define _UTIL_H

#undef HAVE_STRERROR
#undef SIZEOF_LONG

#include "call_scilab.h"
#include "api_scilab.h"

#define BUFSIZE 1024

#define TLIST_NAME	"__tlist_name"

/*
 * This has to be defined when a numpy extension
 * is split accross multiple files
 */
#define PY_ARRAY_UNIQUE_SYMBOL UNIQUE

typedef double complex[2] ;

int read_sci_type(char *name) ;
int is_real(char *name) ;

void sci_debug(const char *format, ...) ;
void sci_error(const char *format, ...) ;

PyObject* create_list(PyObject *obj) ;
char *get_SCI(char*) ;
extern const int sci_max_len ;

#endif