export gdCalloc

Declined
#4 · Created  · Last updated

Declined pull request

gdCalloc should not be exposed in the library API/ABI. Let's fix the tests.

Closed by: ·2013-04-21

Description

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

0 attachments

0 comments

Loading commits...