Skip to content

Commit

Permalink
fix version number for 16bit
Browse files Browse the repository at this point in the history
  • Loading branch information
mulle-nat committed Jan 12, 2024
1 parent 7a06562 commit 0e196f0
Show file tree
Hide file tree
Showing 18 changed files with 130 additions and 65 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -49,3 +49,7 @@ version.old
wilted/
mulle-template-composer-*
mulle-markdown-preview-*.html
coverage*.html
*.gcda
*.gcno
cola/wilted/
6 changes: 6 additions & 0 deletions .mulle/share/env/environment-extension.sh

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions .mulle/share/env/motd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .mulle/share/match/match.d/86-header--project-only-headers

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .mulle/share/sde/version/mulle-c/c

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .mulle/share/sde/version/mulle-c/c-demo

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .mulle/share/sde/version/mulle-sde/c-cmake

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .mulle/share/sde/version/mulle-sde/c-demo

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 12 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,11 @@ There are FIFOs of sizes 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096, 8192.
You can easily create your own custom size.




| Release Version | Release Notes
|-------------------------------------------------------|--------------
| ![Mulle kybernetiK tag](https://img.shields.io/github/tag/mulle-concurrent/mulle-fifo.svg?branch=release) [![Build Status](https://github.com/mulle-concurrent/mulle-fifo/workflows/CI/badge.svg?branch=release)](//github.com/mulle-concurrent/mulle-fifo/actions)| [RELEASENOTES](RELEASENOTES.md) |
| ![Mulle kybernetiK tag](https://img.shields.io/github/tag/mulle-concurrent/mulle-fifo.svg?branch=release) [![Build Status](https://github.com/mulle-concurrent/mulle-fifo/workflows/CI/badge.svg?branch=release)](//github.com/mulle-concurrent/mulle-fifo/actions) | [RELEASENOTES](RELEASENOTES.md) |



Expand Down Expand Up @@ -82,6 +84,12 @@ This is necessary to avoid leaks. Use `mulle_pointerfifo_read` and
### You are here
![Overview](overview.dot.svg)
## Add
Expand Down Expand Up @@ -143,8 +151,10 @@ cmake --build build --config Release &&
cmake --install build --config Release
```


## Author

[Nat!](https://mulle-kybernetik.com/weblog) for Mulle kybernetiK
[Nat!](https://mulle-kybernetik.com/weblog) for Mulle kybernetiK



4 changes: 4 additions & 0 deletions RELEASENOTES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
### 0.1.2

* Various small improvements

### 0.1.1

* remove package.json as it conflicts with clib.json
Expand Down
60 changes: 30 additions & 30 deletions cmake/reflect/_Dependencies.cmake

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 7 additions & 4 deletions cmake/share/Environment.cmake

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions cmake/share/Headers.cmake

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/mulle-fifo.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
*
* version: major, minor, patch
*/
#define MULLE__FIFO_VERSION ((0 << 20) | (1 << 8) | 2)
#define MULLE__FIFO_VERSION ((0UL << 20) | (1 << 8) | 2)


static inline unsigned int mulle_fifo_get_version_major( void)
Expand Down
42 changes: 24 additions & 18 deletions src/reflect/_mulle-fifo-include.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,27 +14,33 @@
#ifndef _mulle_fifo_include_h__
#define _mulle_fifo_include_h__

// You can tweak the following #include with these commands.
// (Use 3F44B76F-7C7A-4AD4-A9AB-5146551EAC39 instead of mulle-thread if there are duplicate entries)
// remove #include:: `mulle-sde dependency mark mulle-thread no-header`
// rename: `mulle-sde dependency|library set mulle-thread include whatever.h`
// reorder: `mulle-sde dependency move mulle-thread <up|down>`
// toggle #include: `mulle-sde dependency mark mulle-thread [no-]import`
// toggle public: `mulle-sde dependency mark mulle-thread [no-]public`
// toggle optional: `mulle-sde dependency mark mulle-thread [no-]require`
// remove for platform: `mulle-sde dependency mark mulle-thread no-platform-<uname>`
// To remove the following dependency (headers and library) completely:
// `mulle-sde dependency remove mulle-thread`
// (Use 3F44B76F-7C7A-4AD4-A9AB-5146551EAC39 instead of mulle-thread, if there are duplicate entries)
//
// You can tweak the following #include with these commands:
// remove #include: `mulle-sde dependency mark mulle-thread no-header`
// rename : `mulle-sde dependency|library set mulle-thread include whatever.h`
// reorder : `mulle-sde dependency move mulle-thread <up|down>`
// toggle #include: `mulle-sde dependency mark mulle-thread [no-]import`
// toggle public : `mulle-sde dependency mark mulle-thread [no-]public`
// toggle optional : `mulle-sde dependency mark mulle-thread [no-]require`
// remove for platform : `mulle-sde dependency mark mulle-thread no-platform-<uname>`
// (use `mulle-sourcetree-to-c --unames` to list known values)
#include <mulle-thread/mulle-thread.h> // mulle-thread

// You can tweak the following #include with these commands.
// (Use C3DD90B8-8890-4D16-AB56-FDE2EF2AE35E instead of mulle-allocator if there are duplicate entries)
// remove #include:: `mulle-sde dependency mark mulle-allocator no-header`
// rename: `mulle-sde dependency|library set mulle-allocator include whatever.h`
// reorder: `mulle-sde dependency move mulle-allocator <up|down>`
// toggle #include: `mulle-sde dependency mark mulle-allocator [no-]import`
// toggle public: `mulle-sde dependency mark mulle-allocator [no-]public`
// toggle optional: `mulle-sde dependency mark mulle-allocator [no-]require`
// remove for platform: `mulle-sde dependency mark mulle-allocator no-platform-<uname>`
// To remove the following dependency (headers and library) completely:
// `mulle-sde dependency remove mulle-allocator`
// (Use C3DD90B8-8890-4D16-AB56-FDE2EF2AE35E instead of mulle-allocator, if there are duplicate entries)
//
// You can tweak the following #include with these commands:
// remove #include: `mulle-sde dependency mark mulle-allocator no-header`
// rename : `mulle-sde dependency|library set mulle-allocator include whatever.h`
// reorder : `mulle-sde dependency move mulle-allocator <up|down>`
// toggle #include: `mulle-sde dependency mark mulle-allocator [no-]import`
// toggle public : `mulle-sde dependency mark mulle-allocator [no-]public`
// toggle optional : `mulle-sde dependency mark mulle-allocator [no-]require`
// remove for platform : `mulle-sde dependency mark mulle-allocator no-platform-<uname>`
// (use `mulle-sourcetree-to-c --unames` to list known values)
#include <mulle-allocator/mulle-allocator.h> // mulle-allocator

Expand Down
4 changes: 2 additions & 2 deletions src/reflect/_mulle-fifo-provide.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
*
* mulle-sde environment set MULLE_MATCH_TO_C_RUN DISABLE
*/
#ifndef mulle_fifo_provide_h__
#define mulle_fifo_provide_h__
#ifndef _mulle__fifo__provide_h__
#define _mulle__fifo__provide_h__


#include "mulle--pointerfifo1024.h"
Expand Down
8 changes: 4 additions & 4 deletions src/reflect/_mulle-fifo-versioncheck.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@

#if defined( MULLE__ALLOCATOR_VERSION)
# ifndef MULLE__ALLOCATOR_VERSION_MIN
# define MULLE__ALLOCATOR_VERSION_MIN ((5 << 20) | (0 << 8) | 2)
# define MULLE__ALLOCATOR_VERSION_MIN ((6UL << 20) | (0 << 8) | 0)
# endif
# ifndef MULLE__ALLOCATOR_VERSION_MAX
# define MULLE__ALLOCATOR_VERSION_MAX ((6 << 20) | (0 << 8) | 0)
# define MULLE__ALLOCATOR_VERSION_MAX ((7UL << 20) | (0 << 8) | 0)
# endif
# if MULLE__ALLOCATOR_VERSION < MULLE__ALLOCATOR_VERSION_MIN
# error "mulle-allocator is too old"
Expand All @@ -22,10 +22,10 @@

#if defined( MULLE__THREAD_VERSION)
# ifndef MULLE__THREAD_VERSION_MIN
# define MULLE__THREAD_VERSION_MIN ((4 << 20) | (5 << 8) | 2)
# define MULLE__THREAD_VERSION_MIN ((4UL << 20) | (5 << 8) | 2)
# endif
# ifndef MULLE__THREAD_VERSION_MAX
# define MULLE__THREAD_VERSION_MAX ((5 << 20) | (0 << 8) | 0)
# define MULLE__THREAD_VERSION_MAX ((5UL << 20) | (0 << 8) | 0)
# endif
# if MULLE__THREAD_VERSION < MULLE__THREAD_VERSION_MIN
# error "mulle-thread is too old"
Expand Down
20 changes: 20 additions & 0 deletions test/.gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# ### > generated by mulle-sde (extensions/mulle-sde/sde/init)
# Protect some binary test files

*.stderr binary
*.stdout binary

# Tweak GitHub language statistics

# .inc is generally C

*.inc linguist-language=C

# remove boring files
.mulle/** linguist-generated
.idea/** linguist-generated
.vscode/** linguist-generated
cmake/** linguist-generated

# ### < generated by mulle-sde (extensions/mulle-sde/sde/init)

0 comments on commit 0e196f0

Please sign in to comment.