Aegisub/subprojects/luabins/test/util.c

18 lines
271 B
C

/*
* util.c
* Luabins test utilities
* See copyright notice in luabins.h
*/
#include "util.h"
void fprintbuf(FILE * out, const unsigned char * b, size_t len)
{
size_t i = 0;
for (i = 0; i < len; ++i)
{
fprintf(out, "%02X ", b[i]);
}
fprintf(out, "\n");
}