History

rename some of the functions

Sigrid Haflínudóttir committed 6 years ago

Commit ef6cdd01 parent 51cd3bf8 files · +41 −31Browse files

Showing the changes to array.c (1 of 8 files). Show all

Unified · Split

array.c+3−3
@@ -25,13 +25,13 @@ pdfarray(Pdf *pdf, Biobuf *b) · 24 unmodified lines
2525 }
2626
2727 Bungetc(b);
28− if((m = pdfobject(pdf, b)) == nil){
28+ if((m = pdfobj(pdf, b)) == nil){
2929 noel = 1;
3030 continue;
3131 }
3232
3333 if((a = realloc(o->array.e, (o->array.ne+1)*sizeof(Object*))) == nil){
34− freeobject(m);
34+ pdfobjfree(m);
3535 goto err;
3636 }
3737
@@ -47,6 +47,6 @@ pdfarray(Pdf *pdf, Biobuf *b) · 9 unmodified lines
4747 return o;
4848 err:
4949 werrstr("array: %r");
50− freeobject(o);
50+ pdfobjfree(o);
5151 return nil;
5252 }

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t