Initial documentation.

This commit is contained in:
Michael R Sweet 2021-05-29 21:21:45 -04:00
parent a18b8fd606
commit 10ab119922
No known key found for this signature in database
GPG Key ID: 999559A027815955
5 changed files with 3958 additions and 5 deletions

View File

@ -25,7 +25,7 @@ DSONAME =
LDFLAGS =
LIBS = -lz
RANLIB = ranlib
VERSION = 1.0
VERSION = 0.1
prefix = /usr/local
@ -142,6 +142,6 @@ DOCFLAGS = \
--docversion $(VERSION)
doc:
codedoc $(DOCFLAGS) --title "pdfio Programming Manual" pdfio.h $(LIBOBJS:.o=.c) --body pdfio.md pdfio.xml >pdfio.html
codedoc $(DOCFLAGS) --title "pdfio Programming Manual v$(VERSION)" pdfio.h $(LIBOBJS:.o=.c) --body pdfio.md pdfio.xml >pdfio.html
codedoc $(DOCFLAGS) --title "pdf read/write library" --man pdfio --section 3 --body pdfio.md pdfio.xml >pdfio.3
rm -f pdfio.xml

View File

@ -20,7 +20,7 @@
// Local types...
//
typedef pdfio_obj_t *(*image_func_t)(pdfio_dict_t *dict, int fd);
typedef pdfio_obj_t *(*_pdfio_image_func_t)(pdfio_dict_t *dict, int fd);
//
@ -910,7 +910,7 @@ pdfioFileCreateImageObject(
pdfio_obj_t *obj; // Image object
int fd; // File
unsigned char buffer[32]; // Read buffer
image_func_t copy_func = NULL; // Image copy function
_pdfio_image_func_t copy_func = NULL; // Image copy function
// Range check input...

View File

@ -657,7 +657,7 @@ pdfioFileOpen(
// '_pdfioObjAdd()' - Add an object to a file.
//
pdfio_obj_t * // O - Object
static pdfio_obj_t * // O - Object
add_obj(pdfio_file_t *pdf, // I - PDF file
size_t number, // I - Object number
unsigned short generation, // I - Object generation

1512
pdfio.3

File diff suppressed because it is too large Load Diff

2441
pdfio.html

File diff suppressed because it is too large Load Diff