All Versions
10
Latest Version
Avg Release Cycle
29 days
Latest Release
3322 days ago

Changelog History

  • v2.0.4

    October 05, 2015
  • v2.0.3 Changes

    June 10, 2015

    โž• Added --without-sentinel configure option to disable variadic argument sentinels

  • v2.0.2 Changes

    April 26, 2015

    libcsptr now produces a shared library.

  • v2.0.1 Changes

    April 14, 2015

    ๐Ÿ— Made shared pointers use its own atomic functions for build compatibility on c99

  • v2.0.0 Changes

    March 19, 2015

    Warning: breaking changes to the interface

    • โœ‚ Removed the destructor helper macro
    • Changed the vararg usage to struct vararg. This change is NOT backward-compatible. Parenthesis around the value were removed with this change, and metadata is no longer passed as two separate parameters.
    • ๐Ÿ OS X and Windows support
  • v1.0 Changes

    January 26, 2015
    • Smart pointers now take a mandatory value. Uninitialized smart pointers may still be retrieved with a direct call to smalloc.
    • ๐Ÿ›  Fixed some typos and updated documentation & samples to fit the latest interface.
  • v0.3.1 Changes

    January 20, 2015
    • โœ‚ Removed --with-malloc-wrapper ./configure flag.
    • โœ‚ Removed malloc/free wrappers.
    • โž• Added unit tests & coverage reports.
    • ๐Ÿ›  Fix for shared pointers accessing the wrong metadata.
  • v0.3 Changes

    January 20, 2015
    • โž• Added --with-malloc-wrapper and --with-fixed-allocator flags for ./configure.
    • โž• Added a fixed allocator support -- if the user does not want to override at runtime the allocators used by smalloc/sfree and just want to use malloc and free, they may enable this option using the --with-fixed-allocator configuration flag.
    • โž• Added malloc/free wrappers. Pointers produced by malloc can be used with the smart attribute, and smart pointers may be passed to free. This option is deactivated by default, and can be enabled using the --with-malloc-wrapper configuration flag.
  • v0.2 Changes

    January 20, 2015
    • unique_ptr and shared_ptr now take a type parameter instead of a size.
    • Added support for static array types in the unique_ptr and shared_ptr macros.
    • โž• Added smart array allocation through smalloc. smalloc has been changed to take a mandatory nmemb parameter, that may be 0 if the allocated type is a scalar, and an array for any other value.
  • v0.1 Changes

    January 20, 2015
    • Added unique_ptr and shared_ptr macros, added smart variable attribute.
    • Added smalloc, sfree, sref, and get_smart_user_meta. Alternative allocators may be specified by setting the contents of smalloc_allocator.