21 lines
417 B
C
21 lines
417 B
C
// Copyright (c) 1993-1999 Microsoft Corporation
|
|
|
|
#include "y4.h"
|
|
|
|
void
|
|
arout( char *s, SSIZE_T *v, SSIZE_T n )
|
|
|
|
{
|
|
|
|
SSIZE_T i;
|
|
|
|
fprintf( ftable, "short %s%s[]={\n", pszPrefix ? pszPrefix : "", s );
|
|
for( i=0; i<n; )
|
|
{
|
|
if( i%10 == 0 ) fprintf( ftable, "\n" );
|
|
fprintf( ftable, "%4d", v[i] );
|
|
if( ++i == n ) fprintf( ftable, " };\n" );
|
|
else fprintf( ftable, "," );
|
|
}
|
|
}
|