| 917 | } |
| 918 | |
| 919 | void psl_set_int_array (struct PSL_CTRL *PSL, const char *prefix, int *array, int n) { |
| 920 | /* These are raw and not scaled */ |
| 921 | int i; |
| 922 | PSL_command (PSL, "/PSL_%s [ ", prefix); |
| 923 | for (i = 0; i < n; i++) { |
| 924 | PSL_command (PSL, "%d ", array[i]); |
| 925 | if (((i+1)%10) == 0) PSL_command (PSL, "\n\t"); |
| 926 | } |
| 927 | PSL_command (PSL, "] def\n"); |
| 928 | } |
| 929 | |
| 930 | void psl_set_txt_array (struct PSL_CTRL *PSL, const char *prefix, char *array[], int n) { |
| 931 | int i; |
no test coverage detected