Preliminary tidy-sharp bindings
Cory Nelson <[email protected]>
| Newsgroups | gmane.comp.web.html-tidy.devel |
|---|---|
| Message-ID | <[email protected]> |
Okay, I've got some mostly working cross-platform .NET bindings. They are by no means finished but I'm not sure if I'll get time in the next month or so to work on it. Current limitations: Loading from a TextReader is buggy as there is no way to unget a byte. Not sure how to cleanly handle this without possible corruption of the TextReader. Using the TextReader/TextWriter methods will be pretty slow as it needs to marshal on every byte read. No way to get past this. On Windows, tidylib.dll must be compiled using __stdcall (the ones on my binaries page are using __cdecl right now). Might be able to fix this in the DllImportAttribute constructors but I've heard that breaks Mono on *nix. The file is here: http://dev.int64.org/tidy-sharp.zip I'll make a project page if I ever get it finished. PS: put out new binaries this morning -- Cory Nelson http://www.int64.org ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/