Releases: astrobit/libcfile
ABI compatable release
This release fixes issues with ABI compatability. The library can now (probably) be linked to any other code and there will not be ABI or heap issues**.
The shared_file and unique_file classes can now be treated as any other class, as they are fully defined within the header file. new and delete operators can be used on them as normal - internally they call into the library for alloc/free. The new_shared_file, etc. functions for shared_file and unique_file are gone.
The "swap" function has been removed from all of the file types as the behavior needs better definition.
**
on linkage: still needs a lot of testing, especially with Windows (hence alpha release)
on ABI issues: similar architecture is still required - i.e. don't link a x86_64 library to an x86 program, etc.
on heap issues: yet to be really tested - has had some testing with clang / g++ on fedora but I'm not completely convinced that it tested the possible heap problems. Windows will provide better test for this.