This is m_misc.c in view mode; [Download] [Up]
#include "../H/ugens.h" #include "../H/sfheader.h" #include <stdio.h> #include <sys/file.h> #include <sys/types.h> #include <math.h> extern SFHEADER sfdesc[NFILES]; double stringify(p,n_args) float *p; int n_args; { /* coerces a string passed in from Minc in quotes in p[0] to a 'floating point' pointer suitable for use in further cmix calls */ return(p[0]); } double round(p,n_args) float *p; int n_args; { int val = p[0] + .5; return (double) val; } double print(pp,n_args,p) float *pp; double *p; int n_args; { printf("Value = %10.8f\n", p[0]); }
These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.