From 6044feb7fd58ff69f63f5418f516b1f3ded346e9 Mon Sep 17 00:00:00 2001 From: rajdakin Date: Fri, 6 Sep 2024 15:07:38 +0200 Subject: Wrapper helper (#1799) * [WRAPPERHELPER] Added wrapperhelper v0.1, tested on libc * [WRAPPED] Removed updates to libc from this branch * [WRAPPERHELPER] Removed GPL header and added modified LGPL header, added notes about licensing issues --- wrapperhelper/include-fixed/bits/stdint-least.h | 39 +++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 wrapperhelper/include-fixed/bits/stdint-least.h (limited to 'wrapperhelper/include-fixed/bits/stdint-least.h') diff --git a/wrapperhelper/include-fixed/bits/stdint-least.h b/wrapperhelper/include-fixed/bits/stdint-least.h new file mode 100644 index 00000000..d9753d7d --- /dev/null +++ b/wrapperhelper/include-fixed/bits/stdint-least.h @@ -0,0 +1,39 @@ +/* Define int_leastN_t and uint_leastN types. + Copyright (C) 2024 Free Software Foundation, Inc. + This file is part of the GNU C Library. + + The GNU C Library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + The GNU C Library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with the GNU C Library; if not, see + . + +This file has been adapted to work with the 'wrapperhelper' project on the 09/06/2024. +*/ + +#ifndef _BITS_STDINT_LEAST_H +#define _BITS_STDINT_LEAST_H 1 + +#include + +/* Signed. */ +typedef __int_least8_t int_least8_t; +typedef __int_least16_t int_least16_t; +typedef __int_least32_t int_least32_t; +typedef __int_least64_t int_least64_t; + +/* Unsigned. */ +typedef __uint_least8_t uint_least8_t; +typedef __uint_least16_t uint_least16_t; +typedef __uint_least32_t uint_least32_t; +typedef __uint_least64_t uint_least64_t; + +#endif /* bits/stdint-least.h */ -- cgit 1.4.1