Skip to content

Commit

Permalink
v4.6.2
Browse files Browse the repository at this point in the history
  • Loading branch information
GorgonMeducer committed May 12, 2022
1 parent 6875a80 commit f057e72
Show file tree
Hide file tree
Showing 8 changed files with 26 additions and 18 deletions.
19 changes: 11 additions & 8 deletions GorgonMeducer.PLOOC.pdsc
Original file line number Diff line number Diff line change
Expand Up @@ -16,19 +16,22 @@
<repository type="git">https://github.com/GorgonMeducer/PLOOC.git</repository>

<releases>
<release date="2022-01-02" version="4.6.1" url="https://raw.githubusercontent.com/GorgonMeducer/PLOOC/master/cmsis-pack/GorgonMeducer.PLOOC.4.6.1.pack">
<release date="2022-05-12" version="4.6.2" url="https://raw.githubusercontent.com/GorgonMeducer/PLOOC/master/cmsis-pack/GorgonMeducer.PLOOC.4.6.2.pack">
- Improve compatibility with the latest C++
</release>
<release date="2022-01-02" version="4.6.1" url="https://github.com/GorgonMeducer/PLOOC/raw/64992d6626c828aecec5c0e8aa2cdfd2dca98721/cmsis-pack/GorgonMeducer.PLOOC.4.6.1.pack">
- Add helper macros for heap
- Add __new_class and __free_class for using malloc and free together with constructors and destructors, i.e. xxxx_init() and xxxx_depose().
- Update example project
- Other minor update
</release>
<release date="2021-12-30" version="4.6.0" url="https://raw.githubusercontent.com/GorgonMeducer/PLOOC/master/cmsis-pack/GorgonMeducer.PLOOC.4.6.0.pack">
<release date="2021-12-30" version="4.6.0" url="https://github.com/GorgonMeducer/PLOOC/raw/d767b581e5116364d5b0fdbff6f5596c75955b22/cmsis-pack/GorgonMeducer.PLOOC.4.6.0.pack">
- Improving CMSIS-Pack
- Add example
- Add code template for base class and derived class
- Other minor update
</release>
<release date="2021-12-29" version="4.5.9" url="https://raw.githubusercontent.com/GorgonMeducer/PLOOC/master/cmsis-pack/GorgonMeducer.PLOOC.4.5.9.pack">
<release date="2021-12-29" version="4.5.9" url="https://github.com/GorgonMeducer/PLOOC/raw/e20695f36153aa6188b50721dfc12c9a731d7792/cmsis-pack/GorgonMeducer.PLOOC.4.5.9.pack">
- Add CMSIS-Pack
- Other minor update
</release>
Expand Down Expand Up @@ -84,15 +87,15 @@
-->

<components>
<component Cclass="Language Extension" Cgroup="PLOOC" Cversion="4.6.1">
<component Cclass="Language Extension" Cgroup="PLOOC" Cversion="4.6.2">
<description>A low-overhead OOPC template.</description>
<files>
<file category="header" name="plooc.h"/>
<file category="header" name="plooc_class.h"/>
<file category="header" name="template/class/class_name.h" attr="template" select="Base Class Template"/>
<file category="source" name="template/class/class_name.c" attr="template" select="Base Class Template"/>
<file category="header" name="template/derived_class/class_name.h" attr="template" select="Derived Class Template"/>
<file category="source" name="template/derived_class/class_name.c" attr="template" select="Derived Class Template"/>
<file category="header" name="template/class/class_name.h" attr="template" select="Base Class Template"/>
<file category="source" name="template/class/class_name.c" attr="template" select="Base Class Template"/>
<file category="header" name="template/derived_class/class_name.h" attr="template" select="Derived Class Template"/>
<file category="source" name="template/derived_class/class_name.c" attr="template" select="Derived Class Template"/>
</files>
</component>
</components>
Expand Down
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# PLOOC (Protected Low-overhead Object Oriented programming with ANSI-C) v4.6.1
# PLOOC (Protected Low-overhead Object Oriented programming with ANSI-C) v4.6.2

## Introduction
---
Expand Down Expand Up @@ -77,6 +77,8 @@ If you have any questions or suggestions, please feel free to let us know.

## Update Log
---
- \[12/05/2022\] Improve compatibility with the latest C++ language, version 4.6.2

- \[02/01/2022\] Add helper macros for heap, version 4.6.1
- Add ***\_\_new_class()*** and ***\_\_free_class()*** for using malloc and free together with constructors and destructors, i.e. ***xxxx_init()*** and ***xxxx_depose()***.
- Update example project
Expand Down
Binary file removed cmsis-pack/GorgonMeducer.PLOOC.4.5.9.pack
Binary file not shown.
Binary file removed cmsis-pack/GorgonMeducer.PLOOC.4.6.0.pack
Binary file not shown.
Binary file removed cmsis-pack/GorgonMeducer.PLOOC.4.6.1.pack
Binary file not shown.
Binary file added cmsis-pack/GorgonMeducer.PLOOC.4.6.2.pack
Binary file not shown.
19 changes: 11 additions & 8 deletions cmsis-pack/GorgonMeducer.PLOOC.pdsc
Original file line number Diff line number Diff line change
Expand Up @@ -16,19 +16,22 @@
<repository type="git">https://github.com/GorgonMeducer/PLOOC.git</repository>

<releases>
<release date="2022-01-02" version="4.6.1" url="https://raw.githubusercontent.com/GorgonMeducer/PLOOC/master/cmsis-pack/GorgonMeducer.PLOOC.4.6.1.pack">
<release date="2022-05-12" version="4.6.2" url="https://raw.githubusercontent.com/GorgonMeducer/PLOOC/master/cmsis-pack/GorgonMeducer.PLOOC.4.6.2.pack">
- Improve compatibility with the latest C++
</release>
<release date="2022-01-02" version="4.6.1" url="https://github.com/GorgonMeducer/PLOOC/raw/64992d6626c828aecec5c0e8aa2cdfd2dca98721/cmsis-pack/GorgonMeducer.PLOOC.4.6.1.pack">
- Add helper macros for heap
- Add __new_class and __free_class for using malloc and free together with constructors and destructors, i.e. xxxx_init() and xxxx_depose().
- Update example project
- Other minor update
</release>
<release date="2021-12-30" version="4.6.0" url="https://raw.githubusercontent.com/GorgonMeducer/PLOOC/master/cmsis-pack/GorgonMeducer.PLOOC.4.6.0.pack">
<release date="2021-12-30" version="4.6.0" url="https://github.com/GorgonMeducer/PLOOC/raw/d767b581e5116364d5b0fdbff6f5596c75955b22/cmsis-pack/GorgonMeducer.PLOOC.4.6.0.pack">
- Improving CMSIS-Pack
- Add example
- Add code template for base class and derived class
- Other minor update
</release>
<release date="2021-12-29" version="4.5.9" url="https://raw.githubusercontent.com/GorgonMeducer/PLOOC/master/cmsis-pack/GorgonMeducer.PLOOC.4.5.9.pack">
<release date="2021-12-29" version="4.5.9" url="https://github.com/GorgonMeducer/PLOOC/raw/e20695f36153aa6188b50721dfc12c9a731d7792/cmsis-pack/GorgonMeducer.PLOOC.4.5.9.pack">
- Add CMSIS-Pack
- Other minor update
</release>
Expand Down Expand Up @@ -84,15 +87,15 @@
-->

<components>
<component Cclass="Language Extension" Cgroup="PLOOC" Cversion="4.6.1">
<component Cclass="Language Extension" Cgroup="PLOOC" Cversion="4.6.2">
<description>A low-overhead OOPC template.</description>
<files>
<file category="header" name="plooc.h"/>
<file category="header" name="plooc_class.h"/>
<file category="header" name="template/class/class_name.h" attr="template" select="Base Class Template"/>
<file category="source" name="template/class/class_name.c" attr="template" select="Base Class Template"/>
<file category="header" name="template/derived_class/class_name.h" attr="template" select="Derived Class Template"/>
<file category="source" name="template/derived_class/class_name.c" attr="template" select="Derived Class Template"/>
<file category="header" name="template/class/class_name.h" attr="template" select="Base Class Template"/>
<file category="source" name="template/class/class_name.c" attr="template" select="Base Class Template"/>
<file category="header" name="template/derived_class/class_name.h" attr="template" select="Derived Class Template"/>
<file category="source" name="template/derived_class/class_name.c" attr="template" select="Derived Class Template"/>
</files>
</component>
</components>
Expand Down
2 changes: 1 addition & 1 deletion plooc.h
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ extern "C" {

//! \brief macro for inheritance

#if (!defined(__STDC_VERSION__) || __STDC_VERSION__ < 199901L) && !defined(__cplusplus)
#if !defined(__STDC_VERSION__) || __STDC_VERSION__ < 199901L
#define __IMPLEMENT_EX(__TYPE, __NAME) \
__TYPE __NAME;
#else
Expand Down

0 comments on commit f057e72

Please sign in to comment.