ctypes pointer narf working now
This commit is contained in:
parent
a1c175138d
commit
18fd12e916
5 changed files with 58 additions and 23 deletions
|
|
@ -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));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue