ctypes pointer narf working now

This commit is contained in:
jaseg 2014-02-17 00:57:47 +01:00
parent a1c175138d
commit 18fd12e916
5 changed files with 58 additions and 23 deletions

View file

@ -79,7 +79,7 @@ void free_glyphtable(glyphtable_t *glyph_table){
glyphtable_t *read_bdf(FILE *f){
glyphtable_t *glyph_table = malloc(sizeof(glyphtable_t));
if(!glyph_table){
printf("Cannot allocate glyph table\n");
fprintf(stderr, "Cannot allocate glyph table\n");
goto error;
}
memset(glyph_table, 0, sizeof(*glyph_table));