Skip to content

Commit

Permalink
version is now unsigned long
Browse files Browse the repository at this point in the history
  • Loading branch information
mulle-nat committed Jan 12, 2024
1 parent b8eeb93 commit a5ca8d0
Show file tree
Hide file tree
Showing 15 changed files with 90 additions and 177 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,7 @@ version.old
wilted/
mulle-template-composer-*
mulle-markdown-preview-*.html
coverage*.html
*.gcda
*.gcno
cola/wilted/
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-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.

15 changes: 13 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,21 @@ Use Objective-C, if you need retain counts.





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






### You are here

![Overview](overview.dot.svg)




Expand Down Expand Up @@ -80,8 +89,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.2.2

* Various small improvements

### 0.2.1

* remove package.json as it conflicts with clib.json
Expand Down
14 changes: 7 additions & 7 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-mmap.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
#include <string.h>


#define MULLE__MMAP_VERSION ((0 << 20) | (2 << 8) | 2)
#define MULLE__MMAP_VERSION ((0UL << 20) | (2 << 8) | 2)


static inline unsigned int mulle_mmap_get_version_major( void)
Expand Down
21 changes: 12 additions & 9 deletions src/reflect/_mulle-mmap-include.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,18 @@
#ifndef _mulle_mmap_include_h__
#define _mulle_mmap_include_h__

// You can tweak the following #include with these commands.
// (Use 360388C4-28A5-43B9-B5DE-858CE8E4A9BA instead of mulle-c11 if there are duplicate entries)
// remove #include:: `mulle-sde dependency mark mulle-c11 no-header`
// rename: `mulle-sde dependency|library set mulle-c11 include whatever.h`
// reorder: `mulle-sde dependency move mulle-c11 <up|down>`
// toggle #include: `mulle-sde dependency mark mulle-c11 [no-]import`
// toggle public: `mulle-sde dependency mark mulle-c11 [no-]public`
// toggle optional: `mulle-sde dependency mark mulle-c11 [no-]require`
// remove for platform: `mulle-sde dependency mark mulle-c11 no-platform-<uname>`
// To remove the following dependency (headers and library) completely:
// `mulle-sde dependency remove mulle-c11`
// (Use 360388C4-28A5-43B9-B5DE-858CE8E4A9BA instead of mulle-c11, if there are duplicate entries)
//
// You can tweak the following #include with these commands:
// remove #include: `mulle-sde dependency mark mulle-c11 no-header`
// rename : `mulle-sde dependency|library set mulle-c11 include whatever.h`
// reorder : `mulle-sde dependency move mulle-c11 <up|down>`
// toggle #include: `mulle-sde dependency mark mulle-c11 [no-]import`
// toggle public : `mulle-sde dependency mark mulle-c11 [no-]public`
// toggle optional : `mulle-sde dependency mark mulle-c11 [no-]require`
// remove for platform : `mulle-sde dependency mark mulle-c11 no-platform-<uname>`
// (use `mulle-sourcetree-to-c --unames` to list known values)
#include <mulle-c11/mulle-c11.h> // mulle-c11

Expand Down
4 changes: 2 additions & 2 deletions src/reflect/_mulle-mmap-versioncheck.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@

#if defined( MULLE__C11_VERSION)
# ifndef MULLE__C11_VERSION_MIN
# define MULLE__C11_VERSION_MIN ((4 << 20) | (4 << 8) | 0)
# define MULLE__C11_VERSION_MIN ((4UL << 20) | (4 << 8) | 0)
# endif
# ifndef MULLE__C11_VERSION_MAX
# define MULLE__C11_VERSION_MAX ((5 << 20) | (0 << 8) | 0)
# define MULLE__C11_VERSION_MAX ((5UL << 20) | (0 << 8) | 0)
# endif
# if MULLE__C11_VERSION < MULLE__C11_VERSION_MIN
# error "mulle-c11 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)

156 changes: 6 additions & 150 deletions test/.mulle/etc/env/environment-host-ci-prerelease.sh

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

0 comments on commit a5ca8d0

Please sign in to comment.