home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Mega CD-ROM 1
/
megacd_rom_1.zip
/
megacd_rom_1
/
POSTSCRI
/
PSFIX.ZIP
/
VECTDEF.H
< prev
Wrap
C/C++ Source or Header
|
1991-05-01
|
2KB
|
74 lines
/*
*
* header file for vectdef.c
*
*/
/*
* This software may be freely distributed under the following conditions:
* 1. It is distributed in its current form, without alterations.
* 2. No monetary profit is made, under any circumstances.
*
* Marc A. Murison
* Smithsonian Astrophysical Observatory
* 60 Garden Street, MS 63
* Cambridge, MA 02138
*
* (617) 495-7079 murison@cfacx2.harvard.edu
*/
#ifndef VECTDEF_H
#define VECTDEF_H
#include "mydefs.h"
#ifdef VECTDEF_C
#ifndef STDIO_H
#define STDIO_H
#include <stdio.h>
#endif
#ifndef STDLIB_H
#define STDLIB_H
#include <stdlib.h>
#endif
#endif
/* function prototypes */
void verrout( Boolean bell, char *errstring );
float *fvector( int n1, int n2 );
double *dvector( int n1, int n2 );
char *cvector( int n1, int n2 );
uchar *ucvector( int n1, int n2 );
int *ivector( int n1, int n2 );
sint *sivector( int n1, int n2 );
ushort *usivector( int n1, int n2 );
long *lvector( int n1, int n2 );
uint *uvector( int n1, int n2 );
ulong *ulvector( int n1, int n2 );
Flag *flagvector( int n1, int n2 );
void **pvector( int n1, int n2 );
void free_fvector( float *v, int n1 );
void free_dvector( double *v, int n1 );
void free_cvector( char *v, int n1 );
void free_ucvector( unsigned char *v, int n1 );
void free_ivector( int *v, int n1 );
void free_sivector( short int *v, int n1 );
void free_usivector( unsigned short int *v, int n1 );
void free_lvector( long *v, int n1 );
void free_uvector( unsigned *v, int n1 );
void free_ulvector( unsigned long *v, int n1 );
void free_flagvector( Flag *v, int n1 );
void free_pvector( char **v, int n1 );
#endif