July 24, 2011 Re: DTagLib - D Wrapper Library for the TagLib ID-tagging library | ||||
---|---|---|---|---|
| ||||
Posted in reply to Johannes Pfau | Ok, DTagLib now has a build script that will compile the library and the sample apps on both Windows and Linux. It works on 2.053 and 2.054, and was tested on XP32 and Ubuntu 10.10. I think I am about done with this port, there's nothing much to do with regards to this very thin C API. But if there are any bugs, feel free to file them. Thanks again to Johannes for the Linux help! |
July 24, 2011 Re: DTagLib - D Wrapper Library for the TagLib ID-tagging library | ||||
---|---|---|---|---|
| ||||
Posted in reply to Andrej Mitrovic | Andrej Mitrovic wrote: >Ok, DTagLib now has a build script that will compile the library and the sample apps on both Windows and Linux. It works on 2.053 and 2.054, and was tested on XP32 and Ubuntu 10.10. > >I think I am about done with this port, there's nothing much to do with regards to this very thin C API. But if there are any bugs, feel free to file them. I'll definitely use it soon :-) May I ask why you've decided to make TagFile a final class instead of a reference counted struct? >Thanks again to Johannes for the Linux help! You're welcome. -- Johannes Pfau |
July 24, 2011 Re: DTagLib - D Wrapper Library for the TagLib ID-tagging library | ||||
---|---|---|---|---|
| ||||
Posted in reply to Johannes Pfau | On 7/24/11, Johannes Pfau <spam@example.com> wrote:
> May I ask why you've decided to make TagFile a final class instead of a reference counted struct?
I don't really have a real answer to that. If you have time to implement that and make a pull request, I'd love to merge it in (or if it's easy to do I can do it myself). I lack practical experience, as you can tell..
|
July 24, 2011 Re: DTagLib - D Wrapper Library for the TagLib ID-tagging library | ||||
---|---|---|---|---|
| ||||
I guess I could take a look at how File uses reference counting and build on that. |
July 24, 2011 Re: DTagLib - D Wrapper Library for the TagLib ID-tagging library | ||||
---|---|---|---|---|
| ||||
Posted in reply to Andrej Mitrovic | Andrej Mitrovic wrote: >I guess I could take a look at how File uses reference counting and build on that. I've recently asked some questions about Reference-Counting in the d.learn newsgroup, Jesse Phillips gave me this link: http://stackoverflow.com/ questions/4632355/making-a-reference-counted-object-in-d-using- refcountedt/4635050#4635050 As shown there it's very easy to implement reference counting using RefCounted and the manual std.stdio.File way is usually not necessary. (As also said in that D.learn thread I don't like some details of the RefCounted implementation, but that can be fixed in RefCounted) -- Johannes Pfau |
Copyright © 1999-2021 by the D Language Foundation