IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Nov 25, 2005, 5:00:41 PM (21 years ago)
Author:
eugene
Message:

updating to work with current psModules

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psphot/src/psLibUtils.c

    r5593 r5607  
    6464    return (TRUE);
    6565}
    66 
    67 // XXX EAM a utility function
    68 bool p_psVectorPrintRow (int fd, psVector *a, char *name)
    69 {
    70 
    71     char line[1024];
    72 
    73     sprintf (line, "vector: %s\n", name);
    74     write (fd, line, strlen(line));
    75 
    76     for (int i = 0; i < a[0].n; i++) {
    77         sprintf (line, "%f  ", p_psVectorGetElementF64(a, i));
    78         write (fd, line, strlen(line));
    79     }
    80     write (fd, "\n", 1);
    81     return (true);
    82 }
Note: See TracChangeset for help on using the changeset viewer.