home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
DOS/V Power Report 1997 March
/
VPR9703A.ISO
/
VPR_DATA
/
DOGA
/
SOURCES
/
POLYEDIT.LZH
/
READER
/
READER.C
< prev
next >
Wrap
C/C++ Source or Header
|
1996-02-16
|
537b
|
38 lines
#include <stdio.h>
#include "lib.h"
#include "_reader.h"
#include "word.h"
extern int (**SystemFunc)();
int _MatrixInit( Library* );
int __ReaderInit( func )
void *func ;
{
#ifdef DYNAMIC
int id ;
if ( func != NULL )
{
SystemFunc = (int(**)())func ;
id = LibraryGet( "Matrix Library" );
if ( id > 0 )
{
return _MatrixInit( LibraryGetInfo( id ) );
}
else
return -1 ;
}
else
#endif
return 0 ;
}
void ReaderSetInterrupt( entry )
void *entry ;
{
interrupt = entry ;
}