Add Windows DLL exports file.

This commit is contained in:
Michael R Sweet 2021-07-26 11:18:36 -04:00
parent c60893a66c
commit dd81069b1c
No known key found for this signature in database
GPG Key ID: BE67C75EC81F3244
2 changed files with 184 additions and 0 deletions

View File

@ -131,6 +131,21 @@ libpdfio.1.dylib: $(LIBOBJS)
$(CC) $(DSOFLAGS) $(COMMONFLAGS) -dynamiclib -o $@ -install_name $(prefix)/lib/$@ -current_version $(VERSION) -compatibility_version 1.0 $(LIBOBJS) $(LIBS) $(CC) $(DSOFLAGS) $(COMMONFLAGS) -dynamiclib -o $@ -install_name $(prefix)/lib/$@ -current_version $(VERSION) -compatibility_version 1.0 $(LIBOBJS) $(LIBS)
# pdfio1.def (Windows DLL exports file...)
#
# I'd love to use __declspec(dllexport) but MS puts it before the function
# declaration instead of after like everyone else, and it breaks Codedoc and
# other tools I rely on...
pdfio1.def: $(LIBOBJS) Makefile
echo Generating $@...
echo "LIBRARY pdfio1" >$@
echo "VERSION 1.0" >>$@
echo "EXPORTS" >>$@
(nm $(LIBOBJS) 2>/dev/null | grep "T _" | awk '{print $$3}' | \
grep -v '^_ttf' | grep -v '^__' | sed -e '1,$$s/^_//'; \
echo _pdfioTokenInit; echo _pdfioValueRead) | sort >>$@
# pdfio test program # pdfio test program
testpdfio: testpdfio.o libpdfio.a testpdfio: testpdfio.o libpdfio.a
$(CC) $(LDFLAGS) $(COMMONFLAGS) -o $@ testpdfio.o libpdfio.a $(LIBS) $(CC) $(LDFLAGS) $(COMMONFLAGS) -o $@ testpdfio.o libpdfio.a $(LIBS)

169
pdfio1.def Normal file
View File

@ -0,0 +1,169 @@
LIBRARY pdfio1
VERSION 1.0
EXPORTS
_pdfioTokenInit
_pdfioValueRead
pdfioArrayAppendArray
pdfioArrayAppendBinary
pdfioArrayAppendBoolean
pdfioArrayAppendDate
pdfioArrayAppendDict
pdfioArrayAppendName
pdfioArrayAppendNumber
pdfioArrayAppendObj
pdfioArrayAppendString
pdfioArrayCopy
pdfioArrayCreate
pdfioArrayCreateColorFromICCObj
pdfioArrayCreateColorFromMatrix
pdfioArrayCreateColorFromPalette
pdfioArrayCreateColorFromPrimaries
pdfioArrayGetArray
pdfioArrayGetBinary
pdfioArrayGetBoolean
pdfioArrayGetDate
pdfioArrayGetDict
pdfioArrayGetName
pdfioArrayGetNumber
pdfioArrayGetObj
pdfioArrayGetSize
pdfioArrayGetString
pdfioArrayGetType
pdfioContentClip
pdfioContentDrawImage
pdfioContentFill
pdfioContentFillAndStroke
pdfioContentMatrixConcat
pdfioContentMatrixRotate
pdfioContentMatrixScale
pdfioContentMatrixTranslate
pdfioContentPathClose
pdfioContentPathCurve
pdfioContentPathCurve13
pdfioContentPathCurve23
pdfioContentPathLineTo
pdfioContentPathMoveTo
pdfioContentPathRect
pdfioContentRestore
pdfioContentSave
pdfioContentSetDashPattern
pdfioContentSetFillColorDeviceCMYK
pdfioContentSetFillColorDeviceGray
pdfioContentSetFillColorDeviceRGB
pdfioContentSetFillColorGray
pdfioContentSetFillColorRGB
pdfioContentSetFillColorSpace
pdfioContentSetFlatness
pdfioContentSetLineCap
pdfioContentSetLineJoin
pdfioContentSetLineWidth
pdfioContentSetMiterLimit
pdfioContentSetStrokeColorDeviceCMYK
pdfioContentSetStrokeColorDeviceGray
pdfioContentSetStrokeColorDeviceRGB
pdfioContentSetStrokeColorGray
pdfioContentSetStrokeColorRGB
pdfioContentSetStrokeColorSpace
pdfioContentSetTextCharacterSpacing
pdfioContentSetTextFont
pdfioContentSetTextLeading
pdfioContentSetTextMatrix
pdfioContentSetTextRenderingMode
pdfioContentSetTextRise
pdfioContentSetTextWordSpacing
pdfioContentSetTextXScaling
pdfioContentStroke
pdfioContentTextBegin
pdfioContentTextEnd
pdfioContentTextMoveLine
pdfioContentTextMoveTo
pdfioContentTextNextLine
pdfioContentTextShow
pdfioContentTextShowJustified
pdfioContentTextShowf
pdfioDictCopy
pdfioDictCreate
pdfioDictGetArray
pdfioDictGetBinary
pdfioDictGetBoolean
pdfioDictGetDate
pdfioDictGetDict
pdfioDictGetName
pdfioDictGetNumber
pdfioDictGetObj
pdfioDictGetRect
pdfioDictGetString
pdfioDictGetType
pdfioDictSetArray
pdfioDictSetBinary
pdfioDictSetBoolean
pdfioDictSetDate
pdfioDictSetDict
pdfioDictSetName
pdfioDictSetNull
pdfioDictSetNumber
pdfioDictSetObj
pdfioDictSetRect
pdfioDictSetString
pdfioDictSetStringf
pdfioFileClose
pdfioFileCreate
pdfioFileCreateArrayObj
pdfioFileCreateFontObjFromBase
pdfioFileCreateFontObjFromFile
pdfioFileCreateICCObjFromFile
pdfioFileCreateImageObjFromData
pdfioFileCreateImageObjFromFile
pdfioFileCreateObj
pdfioFileCreatePage
pdfioFileFindObj
pdfioFileGetAuthor
pdfioFileGetCreationDate
pdfioFileGetCreator
pdfioFileGetID
pdfioFileGetKeywords
pdfioFileGetName
pdfioFileGetNumObjs
pdfioFileGetNumPages
pdfioFileGetObj
pdfioFileGetPage
pdfioFileGetProducer
pdfioFileGetSubject
pdfioFileGetTitle
pdfioFileGetVersion
pdfioFileOpen
pdfioFileSetAuthor
pdfioFileSetCreationDate
pdfioFileSetCreator
pdfioFileSetKeywords
pdfioFileSetSubject
pdfioFileSetTitle
pdfioImageGetBytesPerLine
pdfioImageGetHeight
pdfioImageGetWidth
pdfioObjClose
pdfioObjCopy
pdfioObjCreateStream
pdfioObjGetArray
pdfioObjGetDict
pdfioObjGetGeneration
pdfioObjGetLength
pdfioObjGetNumber
pdfioObjGetSubtype
pdfioObjGetType
pdfioObjOpenStream
pdfioPageCopy
pdfioPageDictAddColorSpace
pdfioPageDictAddFont
pdfioPageDictAddImage
pdfioStreamClose
pdfioStreamConsume
pdfioStreamGetToken
pdfioStreamPeek
pdfioStreamPrintf
pdfioStreamPutChar
pdfioStreamPuts
pdfioStreamRead
pdfioStreamWrite
pdfioStringCreate
pdfioStringCreatef