Skip to content

v1.2.0

Latest
Compare
Choose a tag to compare
@KumarjitDas KumarjitDas released this 06 Jul 07:36

Release Notes

v1.2.0 - 2024-07-06

6th July 2024

Resolved Issues

  • Issue #10: Fixed boolean type error for C++.
  • Issue #12: Added license statement to all CMake files.
  • Issue #14: Added C++ check wrapping around the library.
  • Issue #1: Updated the dependency section in README.
  • Issue #9: Using kdapi v1.2.0 for architecture specific macro definitions.
  • Issue #15: Removed 'Is defined component' macros.
  • Issue #8: Removed TYPES's own architecture specific macros and used KDAPI's.

Fixed

  • 64-bit prints for any types in example2.

Added

  • API version in examples.

Changed

  • Did some minor documentation changes.
  • Updated version to 1.2.0.
  • Updated readme.
  • Updated release notes.

Removed

  • 'Acknowledgment' section from readme file.

v1.1.0

3rd July 2024

Resolved Issues

  • Issue #6: Added exit status EXIT_SUCCESS and EXIT_FAILURE macros.
  • Issue #4: Added an example without OS/CPU architecture/compiler checks with ifdef: examples/example2.c.
  • Issue #3: Added FSBTC_<TYPE_NAME> type cast macros for values for using in the standard format string functions to suppress warnings for different types.
  • Issue #2: Added FMTSP_<TYPE_NAME> macros for C-style format specifiers for all types to be used in the standard format string functions.
  • Issue #5: Using the newer version of KDAPI (v1.1.0).
  • Issue #7: Remove the /MD option for MSVC compiler.

Added

  • Value assignment macro ASSIGN_ANY for any type.

Changed

v1.0.0

2nd July 2024

Features

  1. Type Definitions

    • Added comprehensive type definitions:
      • Boolean: bool
      • Signed integers: i8, i16, i32, i64, imin, imax
      • Unsigned integers: u8, u16, u32, u64, umin, umax, usize
      • Other types: byte, charcode
      • Floating points: f32, f64, fmin, fmax
      • General purpose: any
  2. Type Pretend Macros

    • TYPES_PRETEND_64BIT_INTEGER: Makes 64-bit types act as 32-bit types for compatibility purposes.
  3. Type Definition Checks

    • TYPES_DEFINED_TYPE_<TYPE_NAME>: Checks if a type is defined in the current environment.
    • TYPES_DEFINED_TYPEVAL_<VALUE_NAME>: Checks if a constant value of a type is defined.
  4. Integer and Pointer Size Checks

    • TYPES_64BIT_INTEGER: Checks if the compiler, OS, and CPU support 64-bit integers.
    • TYPES_32BIT_INTEGER: Checks if the compiler, OS, and CPU support 32-bit integers.
    • TYPES_64BIT_POINTER: Checks if the compiler, OS, and CPU support 64-bit pointers.
    • TYPES_32BIT_POINTER: Checks if the compiler, OS, and CPU support 32-bit pointers.
  5. Type Boundaries and Sizes

    • MIN_<TYPE_NAME>: Macro to get the minimum value of a type.
    • MAX_<TYPE_NAME>: Macro to get the maximum value of a type.
    • SZ_<TYPE_NAME>: Macro to get the size of a type.

For more details, see the full Changelog.

Version Details

  • Current Version: 1.2.0
  • Release Date: 6th July 2024
  • Previous Version: 1.1.0