On Sat, 02 Feb 2008, Marek Paliwoda wrote: > Hi All, > > void* ptr = hb_parptrGC( hb_fctx_destructor, 1 ); > Could someone explain me what is the purpose of hb_parptrGC() ?
It's used for verification if given parameter holds pointer item with pointer which points to structure allocated by hb_gcAlloc( size, hb_fctx_destructor ). It means that your code will not accept other pointer types and GPF unexpectly. best regards, Przemek _______________________________________________ Harbour mailing list Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour