This is fsize.c in view mode; [Download] [Up]
#include "../H/ugens.h"
#include <stdio.h>
extern int ngens; /*total of gens so far, initialized in main at 1*/
extern float *farrays[256];
extern int sizeof_farray[256];
fsize(genno)
/* returns the size of function number genno */
{
if(!sizeof_farray[genno]) {
fprintf(stderr,"fsize: You haven't allocated function %d yet!\n",genno);
closesf();
}
return(sizeof_farray[genno]);
}
These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.