export gdCalloc
Remi
Branch: Deleted repository:issue-build
Branch: libgd/gd-libgd:master
Declined
Declined pull request
gdCalloc should not be exposed in the library API/ABI. Let's fix the tests.
Closed by: Former user·2013-04-21
gdCalloc should not be exposed in the library API/ABI. Let's fix the tests.
gdCalloc is used in lot of tests, so need to be exported to allow the build of this test units using the just build shared library.
Note : alternative is to not use gdCalloc / gdFree in unit test, but calloc / free instead
Tests concerned:
tests/gdimageopenpolygon/gdimageopenpolygon1.c tests/gdimageopenpolygon/gdimageopenpolygon3.c tests/gdimageopenpolygon/gdimageopenpolygon2.c tests/gdimagefilledpolygon/gdimagefilledpolygon1.c tests/gdimagefilledpolygon/gdimagefilledpolygon3.c tests/gdimagefilledpolygon/gdimagefilledpolygon2.c tests/gdimagepolygon/gdimagepolygon3.c tests/gdimagepolygon/gdimagepolygon1.c tests/gdimagepolygon/gdimagepolygon2.c