27#if defined(HAVE_GDLIB)
39 type(c_ptr),
intent(in) :: im
45 type(c_ptr),
intent(in) :: im
51 type(c_ptr),
intent(in) :: im
52 integer(c_int),
intent(in) :: x, y
53 integer(c_int),
intent(out) :: r, g, b
59 type(c_ptr),
value :: im
66#if defined(HAVE_GDLIB)
67 type(c_ptr) function gdlib_image_create_from(filename)
68 character(len=*),
intent(in) :: filename
70 type(c_ptr) function cgdlib_image_create_from(filename)
bind(c, name="gdlib_image_create_from")
73 character(kind=c_char),
intent(in) :: filename(*)
74 end function cgdlib_image_create_from
type(c_ptr) function, public gdlib_image_create_from(filename)