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
25 }25 }
26 26
27 Bungetc(b);27 Bungetc(b);
28 if((m = pdfobject(pdf, b)) == nil){28 if((m = pdfobj(pdf, b)) == nil){
29 noel = 1;29 noel = 1;
30 continue;30 continue;
31 }31 }
32 32
33 if((a = realloc(o->array.e, (o->array.ne+1)*sizeof(Object*))) == nil){33 if((a = realloc(o->array.e, (o->array.ne+1)*sizeof(Object*))) == nil){
34 freeobject(m);34 pdfobjfree(m);
35 goto err;35 goto err;
36 }36 }
37 37
@@ -47,6 +47,6 @@ pdfarray(Pdf *pdf, Biobuf *b) · 9 unmodified lines
47 return o;47 return o;
48err:48err:
49 werrstr("array: %r");49 werrstr("array: %r");
50 freeobject(o);50 pdfobjfree(o);
51 return nil;51 return nil;
52}52}

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