Commit Graph

13 Commits (master)

Author SHA1 Message Date
Mike Frysinger 19c7a5d651 use gdIOCtxPtr more consistently
We have gdIOCtxPtr for gdIOCtx*, so switch the public headers to it
consistently.
2021-05-28 21:19:20 -04:00
wilson chen b73137fcd4 Remove config.h in gdpp
Remove config.h & jpeg defines in gdpp.h & gdpp.cxx.
2019-11-18 23:09:44 -05:00
Mike Frysinger a91cb62f01 add stub ABI funcs when formats are disabled #345
We do this for some funcs already, so add jpeg/png/tiff/liq/webp
stubs too.  This keeps our ABI stable and lets code do runtime
detection instead.
2019-02-09 13:16:57 -05:00
Mike Frysinger 4fc6d8a0d6 rework ifdef header protection #456
Move all content inside of the header ifdef checks.  There's
no need to have the C++ checks and includes outside of them.
2018-08-31 01:21:34 -04:00
Peter Kokot 01c59d840b Remove Git ident attributes
Git ident attributes were in most cases utilized with SVN and keywords
substitutions, where $Id$ were replaced with certain revision from the
repository. In Git this functionality is different. Each $Id$ needs to
be defined in .gitattributes file to be effective. This patch removes
unused and outdated attributes.
2018-06-27 02:04:37 +02:00
Nathanael Jones 4d54513072 Exposed all missing format-independent members in the C++ wrapper.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
Rebased by Nathanael Jones
2015-01-07 02:03:11 -05:00
Nathanael Jones c7bf3794b6 Update gdpp.* to use HAVE_LIBPNG vs HAVE_PNG, etc.- should honor the same feature support flags as the rest of gd, 2015-01-07 02:01:53 -05:00
Nathanael Jones e81ff9051b Export C++ wrapper clases. Change two Gd() functions of the C++ wrapper to return values when the underlying C calls do. 2015-01-07 01:39:10 -05:00
Ondřej Surý 2e071506d4 Remove executable bits from source files 2013-04-14 09:08:31 +02:00
pierrejoye e20413bf6b - apply same CS everywhere 2013-04-03 14:23:11 +02:00
pajoye 0f62911ab0 - add the c++ binding to the build
- don't try to compile jpeg/png if the format is not enabled
2008-01-15 21:47:49 +00:00
kshepherd 7792999f10 Added methods which take a const GD::Image reference in place of a gdImagePtr. Added copy constructor and assignment operator. Additional documentation. 2007-12-16 21:31:27 +00:00
kshepherd 5583a4194a Initial revision of the C++ helper files.
These files are wrapped in ifdef __cplusplus clauses, so do
not affect 'C' use of the library.
gd_io_stream contains a specialization of gdIOCtx for standard
library streams, and can be used independently of gdpp.h.
gdpp.h contains C++ classes which wrap the C API for the convenience
of C++ use.  All classes in gdpp are prefixed by GD::
Checked in by Kevin Shepherd <kshepherd@php.net>
Please see issue 131 in the libgd bug-tracking system for details:
http://bugs.libgd.org/?do=details&task_id=131
2007-12-11 18:58:15 +00:00