]> git.sur5r.net Git - openocd/commit
improve buf_set_buf helper
authorZachary T Welch <zw@superlucidity.net>
Sat, 14 Nov 2009 18:44:37 +0000 (10:44 -0800)
committerZachary T Welch <zw@superlucidity.net>
Mon, 16 Nov 2009 08:46:34 +0000 (00:46 -0800)
commit21b452cf675bd3bb307c0d58c6cc45a028d7df3a
tree029f74098d43dff4afabe79d0429ae8a50d04b1f
parentd8d8c5d8c3e47a38059952c3407bb819c5c33d05
improve buf_set_buf helper

Use void * and unsigned types for buffer and their sizes.
Allows it to be used with more than uint8_t * without casts.
src/helper/binarybuffer.c
src/helper/binarybuffer.h