From 0fa111b1f6418de2248ee7705fb7d783be7d001e Mon Sep 17 00:00:00 2001 From: Benoit Germain Date: Tue, 3 Mar 2026 14:55:14 +0100 Subject: Update copyright dates --- src/keeper.cpp | 4 +--- src/lanes.cpp | 10 ++++++---- src/lanes.lua | 10 +++++----- 3 files changed, 12 insertions(+), 12 deletions(-) (limited to 'src') diff --git a/src/keeper.cpp b/src/keeper.cpp index 4af0d86..179109a 100644 --- a/src/keeper.cpp +++ b/src/keeper.cpp @@ -11,10 +11,9 @@ -- -- C implementation replacement of the original keeper.lua -- - --[[ =============================================================================== - Copyright (C) 2011-2024 Benoit Germain + Copyright (C) 2011-2026 Benoit Germain Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal @@ -35,7 +34,6 @@ THE SOFTWARE. =============================================================================== - ]]-- */ #include "_pch.hpp" #include "keeper.hpp" diff --git a/src/lanes.cpp b/src/lanes.cpp index 5b9eb2b..74a9d95 100644 --- a/src/lanes.cpp +++ b/src/lanes.cpp @@ -1,6 +1,6 @@ /* * LANES.CPP Copyright (c) 2007-08, Asko Kauppi - * Copyright (C) 2009-24, Benoit Germain + * Copyright (C) 2009-26, Benoit Germain * * Multithreading in Lua. * @@ -56,7 +56,7 @@ =============================================================================== Copyright (C) 2007-10 Asko Kauppi - 2011-24 Benoit Germain + 2011-26 Benoit Germain Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal @@ -267,7 +267,8 @@ namespace { // Read the priority-is-native flag and optional priority integer from the lane_new() argument stack. // Validates the mapped priority range if native mode is not requested. - [[nodiscard]] static LanePriority ResolveLanePriority(lua_State* const L_, StackIndex const prinIdx_, StackIndex const prioIdx_) + [[nodiscard]] + static LanePriority ResolveLanePriority(lua_State* const L_, StackIndex const prinIdx_, StackIndex const prioIdx_) { NativePrioFlag const _native{ static_cast(lua_toboolean(L_, prinIdx_)) }; if (lua_isnoneornil(L_, prioIdx_)) { @@ -373,7 +374,8 @@ namespace { // Push the optional error handler onto L2, then transfer the lane body (a Lua function or // a string to be compiled) from L_ into L2_. Returns the error handler count (0 or 1) so // the caller can assert the correct L2 stack depth after arguments are transferred. - [[nodiscard]] static int TransferLaneBody(Universe* const U_, lua_State* const L_, lua_State* const L2_, StackIndex const funcIdx_, Lane* const lane_) + [[nodiscard]] + static int TransferLaneBody(Universe* const U_, lua_State* const L_, lua_State* const L2_, StackIndex const funcIdx_, Lane* const lane_) { int const _errorHandlerCount{ lane_->pushErrorHandler() }; // L_: [fixed] args... L2: eh? LuaType const _func_type{ luaW_type(L_, funcIdx_) }; diff --git a/src/lanes.lua b/src/lanes.lua index 43ebfd5..98b1bf6 100644 --- a/src/lanes.lua +++ b/src/lanes.lua @@ -12,7 +12,7 @@ =============================================================================== Copyright (C) 2007-10 Asko Kauppi -Copyright (C) 2010-24 Benoit Germain +Copyright (C) 2010-26 Benoit Germain Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal @@ -875,10 +875,10 @@ local configure = function(settings_) -- lanes.ABOUT = { - author= "Asko Kauppi , Benoit Germain ", - description= "Running multiple Lua states in parallel", - license= "MIT/X11", - copyright= "Copyright (c) 2007-10, Asko Kauppi; (c) 2011-23, Benoit Germain", + author = "Asko Kauppi , Benoit Germain ", + description = "Running multiple Lua states in parallel", + license = "MIT/X11", + copyright = "Copyright (c) 2007-10, Asko Kauppi; (c) 2011-26, Benoit Germain", version = assert(core.version) } -- cgit v1.2.3-55-g6feb