Skip to content

Commit

Permalink
Release v0.2.3
Browse files Browse the repository at this point in the history
  • Loading branch information
q66 committed Jan 8, 2023
1 parent 3e81848 commit b1b2d77
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 7 deletions.
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
# 8 January 2023 - 0.2.3

**Changes:**

- Fixed initialization and sizeof for flexible structs
- Fixed handling of pointer arithmetic with reference types
- Fixed handling of references in cffi.copy and other places
- Reworked module memory management to respect type alignment
- Added a Clang build with sanitizers (UBSan, ASan, CFI) in CI
- Fixed issues found by sanitized build
- Updated CI to Ubuntu 22.04

# 1 November 2022 - 0.2.2

**Changes:**
Expand Down
4 changes: 2 additions & 2 deletions cffi-lua-0.2.2-1.rockspec → cffi-lua-0.2.3-1.rockspec
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package = "cffi-lua"
version = "0.2.2-1"
version = "0.2.3-1"
source = {
url = "git+https://github.com/q66/cffi-lua",
tag = "v0.2.2"
tag = "v0.2.3"
}
description = {
summary = "A portable C FFI for Lua 5.1+",
Expand Down
8 changes: 4 additions & 4 deletions luarocks/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@ case "$1" in
ninja all
;;
install)
cd build
ninja install
# we want just the module, no subproject stuff
mkdir -p "$LIBDIR"
cp build/cffi.so "$LIBDIR"
mkdir -p "${PREFIX}"/doc
cp -a ../docs/* "${PREFIX}"/doc
cd ..
cp -a docs/* "${PREFIX}"/doc
rm -rf build
;;
*) exit 1 ;;
Expand Down
2 changes: 1 addition & 1 deletion meson.build
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Project definition

project('cffi-lua', ['cpp'],
version: '0.2.2',
version: '0.2.3',
default_options: [
'buildtype=debugoptimized', 'b_ndebug=if-release', 'cpp_std=c++14',
'warning_level=3', 'cpp_rtti=false', 'cpp_eh=none'
Expand Down

0 comments on commit b1b2d77

Please sign in to comment.