Import MSL headers and files

This commit is contained in:
dbalatoni13 2025-01-12 09:47:25 +01:00
parent 0de51f3ffa
commit b0ed90ff26
40 changed files with 2736 additions and 29 deletions

View file

@ -1,7 +1,7 @@
#ifndef _MSL_COMMON_FILE_POS_H
#define _MSL_COMMON_FILE_POS_H
#include "ansi_files.h"
#include "PowerPC_EABI_Support/Msl/MSL_C/MSL_Common/ansi_files.h"
#ifdef __cplusplus
extern "C" {

View file

@ -1,7 +1,7 @@
#ifndef _MSL_COMMON_ALLOC_H
#define _MSL_COMMON_ALLOC_H
#include "ansi_files.h"
#include "PowerPC_EABI_Support/Msl/MSL_C/MSL_Common/ansi_files.h"
#ifdef __cplusplus
extern "C" {

View file

@ -1,7 +1,7 @@
#ifndef _MSL_COMMON_ANSI_FILES_H
#define _MSL_COMMON_ANSI_FILES_H
#include "stddef.h"
#include "PowerPC_EABI_Support/Msl/MSL_C/MSL_Common/stddef.h"
#ifdef __cplusplus
extern "C" {

View file

@ -1,7 +1,7 @@
#ifndef _MSL_COMMON_ANSI_FP_H
#define _MSL_COMMON_ANSI_FP_H
#include "float.h"
#include "PowerPC_EABI_Support/Msl/MSL_C/MSL_Common/float.h"
#define SIGDIGLEN 36

View file

@ -1,7 +1,7 @@
#ifndef _MSL_COMMON_BUFFER_IO_H
#define _MSL_COMMON_BUFFER_IO_H
#include "ansi_files.h"
#include "PowerPC_EABI_Support/Msl/MSL_C/MSL_Common/ansi_files.h"
enum { __align_buffer, __dont_align_buffer };

View file

@ -1,7 +1,7 @@
#ifndef _MSL_COMMON_CHAR_IO_H
#define _MSL_COMMON_CHAR_IO_H
#include "ansi_files.h"
#include "PowerPC_EABI_Support/Msl/MSL_C/MSL_Common/ansi_files.h"
#ifdef __cplusplus
extern "C" {

View file

@ -1,7 +1,7 @@
#ifndef _MSL_COMMON_DIRECT_IO_H
#define _MSL_COMMON_DIRECT_IO_H
#include "ansi_files.h"
#include "PowerPC_EABI_Support/Msl/MSL_C/MSL_Common/ansi_files.h"
#ifdef __cplusplus
extern "C" {

View file

@ -1,7 +1,7 @@
#ifndef _MSL_COMMON_FILE_IO_H
#define _MSL_COMMON_FILE_IO_H
#include "ansi_files.h"
#include "PowerPC_EABI_Support/Msl/MSL_C/MSL_Common/ansi_files.h"
#ifdef __cplusplus
extern "C" {

View file

@ -1,7 +1,7 @@
#ifndef MSL_MATH_H_
#define MSL_MATH_H_
#include "float.h"
#include "PowerPC_EABI_Support/Msl/MSL_C/MSL_Common/float.h"
#define NAN (*(float*)__float_nan)
#define HUGE_VALF (*(float*)__float_huge)

View file

@ -1,7 +1,7 @@
#ifndef _MSL_COMMON_MBSTRING_H
#define _MSL_COMMON_MBSTRING_H
#include "wchar_io.h"
#include "PowerPC_EABI_Support/Msl/MSL_C/MSL_Common/wchar_io.h"
#ifdef __cplusplus
extern "C" {

View file

@ -1,7 +1,7 @@
#ifndef _MSL_COMMON_MEM_FUNCS_H
#define _MSL_COMMON_MEM_FUNCS_H
#include "stddef.h"
#include "PowerPC_EABI_Support/Msl/MSL_C/MSL_Common/stddef.h"
#ifdef __cplusplus
extern "C" {

View file

@ -1,8 +1,8 @@
#ifndef _MSL_COMMON_PRINTF_H
#define _MSL_COMMON_PRINTF_H
#include "ansi_files.h"
#include "stdarg.h"
#include "PowerPC_EABI_Support/Msl/MSL_C/MSL_Common/ansi_files.h"
#include "PowerPC_EABI_Support/Msl/MSL_C/MSL_Common/stdarg.h"
#ifdef __cplusplus
extern "C" {

View file

@ -1,8 +1,8 @@
#ifndef _MSL_COMMON_SCANF_H
#define _MSL_COMMON_SCANF_H
#include "stddef.h"
#include "ansi_files.h"
#include "PowerPC_EABI_Support/Msl/MSL_C/MSL_Common/stddef.h"
#include "PowerPC_EABI_Support/Msl/MSL_C/MSL_Common/ansi_files.h"
#ifdef __cplusplus
extern "C" {

View file

@ -1,10 +1,10 @@
#ifndef MSL_STDIO_H_
#define MSL_STDIO_H_
#include "char_io.h" // IWYU pragma: export
#include "file_io.h" // IWYU pragma: export
#include "printf.h" // IWYU pragma: export
#include "extras.h" // IWYU pragma: export
#include "PowerPC_EABI_Support/Msl/MSL_C/MSL_Common/char_io.h" // IWYU pragma: export
#include "PowerPC_EABI_Support/Msl/MSL_C/MSL_Common/file_io.h" // IWYU pragma: export
#include "PowerPC_EABI_Support/Msl/MSL_C/MSL_Common/printf.h" // IWYU pragma: export
#include "PowerPC_EABI_Support/Msl/MSL_C/MSL_Common/extras.h" // IWYU pragma: export
#define stdin (&__files._stdin)
#define stdout (&__files._stdout)

View file

@ -1,9 +1,9 @@
#ifndef MSL_STDLIB_H_
#define MSL_STDLIB_H_
#include "abort_exit.h"
#include "arith.h"
#include "mbstring.h"
#include "strtoul.h"
#include "PowerPC_EABI_Support/Msl/MSL_C/MSL_Common/abort_exit.h"
#include "PowerPC_EABI_Support/Msl/MSL_C/MSL_Common/arith.h"
#include "PowerPC_EABI_Support/Msl/MSL_C/MSL_Common/mbstring.h"
#include "PowerPC_EABI_Support/Msl/MSL_C/MSL_Common/strtoul.h"
#endif

View file

@ -1,7 +1,7 @@
#ifndef _MSL_COMMON_STRING_H
#define _MSL_COMMON_STRING_H
#include "stddef.h"
#include "PowerPC_EABI_Support/Msl/MSL_C/MSL_Common/stddef.h"
#ifdef __cplusplus
extern "C" {

View file

@ -1,7 +1,7 @@
#ifndef _MSL_COMMON_WCHAR_IO_H
#define _MSL_COMMON_WCHAR_IO_H
#include "ansi_files.h"
#include "PowerPC_EABI_Support/Msl/MSL_C/MSL_Common/ansi_files.h"
#ifndef __cplusplus
typedef unsigned short wchar_t;