Read better from your link, find the doc and read; in particular, the function you gpc_add_contourmost likely need. The gpc_vertex_list line contains a pointer to gpc_vertex-s and the number of vertices, and this is what you should fill. for instance
gpc_polygon p = {0, NULL, NULL};
gpc_vertex v[] = { {0.0, 0.0}, {10.0, 0.}, {10.0, 10.10}, {0.0, 10.0} };
gpc_vertex_list vl = {
4, v
};
gpc_add_contour(&p, &vl, 0);
, , (try-error loops) - ( gpc, , ). . gpc_add_countour & p, , , , vl , . 1, , "" (p) .