Skip to content

0.4.0

Choose a tag to compare

@LambBread LambBread released this 21 Mar 21:44
· 198 commits to master since this release

Version 0.4.0

Changes

  • Change style of .inls to having namespace lipsum around entire implementation
  • Make lpsm::internal::RandomNumber more thread-safe
  • Functions changed to support multi-source generation with new lpsm::Source class
  • Update TODO.md
  • Version numbering changed to constexpr variables, along with variables storing major, minor, and patch versions
    •   // #define LIPSUM_CPP_VERSION
        inline constexpr const char* LIPSUM_CPP_VERSION
        inline constexpr int LIPSUM_CPP_VERSION_MAJOR
        inline constexpr int LIPSUM_CPP_VERSION_MINOR
        inline constexpr int LIPSUM_CPP_VERSION_PATCH
        // C wrapper
       #define LIPSUM_CPP_VERSION_MAJOR_C
       #define LIPSUM_CPP_VERSION_MINOR_C
       #define LIPSUM_CPP_VERSION_PATCH_C
  • Removed features:
std::string lpsm::LipsumVersion();
#define lpsm_LipsumVersion()
  • Added features:
class lpsm::Source;
lpsm::Source::Source();
lpsm::Source::Source(const std::string&);
std::string lpsm::Source::RandomWord() const;
// C wrapper
typedef void* lpsm_SourceHandle;
lpsm_SourceHandle lpsm_Source(const char*);
void lpsm_SourceDestroy(lpsm_SourceHandle);