Changeset 5607 for trunk/psphot/src/psLibUtils.c
- Timestamp:
- Nov 25, 2005, 5:00:41 PM (21 years ago)
- File:
-
- 1 edited
-
trunk/psphot/src/psLibUtils.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psphot/src/psLibUtils.c
r5593 r5607 64 64 return (TRUE); 65 65 } 66 67 // XXX EAM a utility function68 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.
