[fpc-devel] ANN: Further patch for h2pas to use the ctypes unit
Michael Van Canneyt
michael at freepascal.org
Mon Oct 2 22:57:40 CEST 2006
On Mon, 2 Oct 2006, J. Peter Mugaas wrote:
> On Mon, 2 Oct 2006 20:41:49 +0200 (CEST), Michael Van Canneyt wrote:
> >
> >
> > On Mon, 2 Oct 2006, J. Peter Mugaas wrote:
> >
> >> I have posted a patch that supplements my original patch to the
> >> h2pas utility. This removes some WriteLn debug statements that I
> >> made. I also removed some pointer type redefinitions from the
> >> translated header. Those pointer types are in ctypes. The patch
> >> works works better when you are not using the "-p" parameter.
> >>
> >> The patch is available in the bug report:
> >> 0007437
> >>
> >> The patch file is h2pas-ctypes2.patch.
> >>
> >> I am hoping that this gets mered into SVN.
> >>
> > I tried, but your patch fails.
> >
> > First of all, the EOL structure is different between your file and
> > the original, which makes the patch HUGE and secondly, some chunks
> > are rejected.
> >
> Okay. I am attaching a new patch attempt. I just changed the EOL. I am also sending the original h2pas.y in case this doesn't work.
Excellent, the patch worked flawlessly. I'm closing the bug report.
Many thanks, I think this is a really useful addition !
Michael.
More information about the fpc-devel
mailing list