comparison final_isi/wrapper.c @ 83:d419dc43bde4

Implement memfill().
author Matti Hamalainen <ccr@tnsp.org>
date Tue, 19 Feb 2013 00:39:41 +0200
parents e76a4e19363d
children
comparison
equal deleted inserted replaced
82:1013256040d5 83:d419dc43bde4
104 x0+=dx0;x1+=dx1;di+=80;tpv+=dv;/*dv*/} 104 x0+=dx0;x1+=dx1;di+=80;tpv+=dv;/*dv*/}
105 } 105 }
106 106
107 void memfill(void *buf, int c, size_t n) 107 void memfill(void *buf, int c, size_t n)
108 { 108 {
109 size_t i;
110 for (i = 0; i < n; i++)
111 ((sint16 *)buf)[i] = c;
109 } 112 }
110 113
111 void txtmode(int mode) 114 void txtmode(int mode)
112 { 115 {
113 } 116 }