Stop including <uchar.h>, and instead map Rust char to uint32_t.
This is technically a breaking change for C++, unfortunately. Fixes #423.
This commit is contained in:
parent
913b08d404
commit
9b5dd80d84
@ -167,8 +167,6 @@ impl Bindings {
|
||||
out.new_line();
|
||||
out.write("#include <stdlib.h>");
|
||||
out.new_line();
|
||||
out.write("#include <uchar.h>");
|
||||
out.new_line();
|
||||
} else {
|
||||
out.write("#include <cstdarg>");
|
||||
out.new_line();
|
||||
|
@ -132,7 +132,15 @@ impl PrimitiveType {
|
||||
PrimitiveType::Char => "char",
|
||||
PrimitiveType::SChar => "signed char",
|
||||
PrimitiveType::UChar => "unsigned char",
|
||||
PrimitiveType::Char32 => "char32_t",
|
||||
// NOTE: It'd be nice to use a char32_t, but:
|
||||
//
|
||||
// * uchar.h is not present on mac (see #423).
|
||||
//
|
||||
// * char32_t isn't required to be compatible with Rust's char, as
|
||||
// the C++ spec only requires it to be the same size as
|
||||
// uint_least32_t, which is _not_ guaranteed to be 4-bytes.
|
||||
//
|
||||
PrimitiveType::Char32 => "uint32_t",
|
||||
PrimitiveType::Short => "short",
|
||||
PrimitiveType::Int => "int",
|
||||
PrimitiveType::Long => "long",
|
||||
|
@ -2,7 +2,6 @@
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
#include <uchar.h>
|
||||
|
||||
enum Status {
|
||||
Ok,
|
||||
|
@ -2,7 +2,6 @@
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
#include <uchar.h>
|
||||
|
||||
enum Status
|
||||
#ifdef __cplusplus
|
||||
|
@ -2,7 +2,6 @@
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
#include <uchar.h>
|
||||
|
||||
enum C {
|
||||
X = 2,
|
||||
|
@ -2,7 +2,6 @@
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
#include <uchar.h>
|
||||
|
||||
enum C
|
||||
#ifdef __cplusplus
|
||||
|
@ -2,7 +2,6 @@
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
#include <uchar.h>
|
||||
|
||||
typedef enum {
|
||||
A,
|
||||
|
@ -2,7 +2,6 @@
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
#include <uchar.h>
|
||||
|
||||
typedef enum {
|
||||
A,
|
||||
|
@ -5,7 +5,6 @@
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
#include <uchar.h>
|
||||
|
||||
typedef struct I I;
|
||||
|
||||
|
@ -5,7 +5,6 @@
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
#include <uchar.h>
|
||||
|
||||
typedef struct I I;
|
||||
|
||||
|
@ -2,6 +2,5 @@
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
#include <uchar.h>
|
||||
|
||||
#define Foo_FOO 42
|
||||
|
@ -2,6 +2,5 @@
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
#include <uchar.h>
|
||||
|
||||
#define Foo_FOO 42
|
||||
|
@ -2,7 +2,6 @@
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
#include <uchar.h>
|
||||
|
||||
typedef struct {
|
||||
|
||||
|
@ -2,7 +2,6 @@
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
#include <uchar.h>
|
||||
|
||||
typedef struct {
|
||||
|
||||
|
@ -2,7 +2,6 @@
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
#include <uchar.h>
|
||||
|
||||
/**
|
||||
* Constants shared by multiple CSS Box Alignment properties
|
||||
|
@ -2,7 +2,6 @@
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
#include <uchar.h>
|
||||
|
||||
/**
|
||||
* Constants shared by multiple CSS Box Alignment properties
|
||||
|
@ -2,7 +2,6 @@
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
#include <uchar.h>
|
||||
|
||||
/**
|
||||
* Constants shared by multiple CSS Box Alignment properties
|
||||
|
@ -2,7 +2,6 @@
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
#include <uchar.h>
|
||||
|
||||
/**
|
||||
* Constants shared by multiple CSS Box Alignment properties
|
||||
|
@ -2,7 +2,6 @@
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
#include <uchar.h>
|
||||
|
||||
typedef enum {
|
||||
Foo1,
|
||||
|
@ -2,7 +2,6 @@
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
#include <uchar.h>
|
||||
|
||||
typedef enum {
|
||||
Foo1,
|
||||
|
@ -2,7 +2,6 @@
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
#include <uchar.h>
|
||||
|
||||
enum Status {
|
||||
Ok,
|
||||
|
@ -2,7 +2,6 @@
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
#include <uchar.h>
|
||||
|
||||
enum Status
|
||||
#ifdef __cplusplus
|
||||
|
@ -2,7 +2,6 @@
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
#include <uchar.h>
|
||||
|
||||
enum C {
|
||||
X = 2,
|
||||
|
@ -2,7 +2,6 @@
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
#include <uchar.h>
|
||||
|
||||
enum C
|
||||
#ifdef __cplusplus
|
||||
|
@ -2,7 +2,6 @@
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
#include <uchar.h>
|
||||
|
||||
typedef enum Foo_Tag {
|
||||
A,
|
||||
|
@ -2,7 +2,6 @@
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
#include <uchar.h>
|
||||
|
||||
typedef enum Foo_Tag {
|
||||
A,
|
||||
|
@ -5,7 +5,6 @@
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
#include <uchar.h>
|
||||
|
||||
typedef struct I I;
|
||||
|
||||
|
@ -5,7 +5,6 @@
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
#include <uchar.h>
|
||||
|
||||
typedef struct I I;
|
||||
|
||||
|
@ -2,6 +2,5 @@
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
#include <uchar.h>
|
||||
|
||||
#define Foo_FOO 42
|
||||
|
@ -2,6 +2,5 @@
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
#include <uchar.h>
|
||||
|
||||
#define Foo_FOO 42
|
||||
|
@ -2,7 +2,6 @@
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
#include <uchar.h>
|
||||
|
||||
typedef struct Foo {
|
||||
|
||||
|
@ -2,7 +2,6 @@
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
#include <uchar.h>
|
||||
|
||||
typedef struct Foo {
|
||||
|
||||
|
@ -2,7 +2,6 @@
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
#include <uchar.h>
|
||||
|
||||
/**
|
||||
* Constants shared by multiple CSS Box Alignment properties
|
||||
|
@ -2,7 +2,6 @@
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
#include <uchar.h>
|
||||
|
||||
/**
|
||||
* Constants shared by multiple CSS Box Alignment properties
|
||||
|
@ -2,7 +2,6 @@
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
#include <uchar.h>
|
||||
|
||||
/**
|
||||
* Constants shared by multiple CSS Box Alignment properties
|
||||
|
@ -2,7 +2,6 @@
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
#include <uchar.h>
|
||||
|
||||
/**
|
||||
* Constants shared by multiple CSS Box Alignment properties
|
||||
|
@ -2,7 +2,6 @@
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
#include <uchar.h>
|
||||
|
||||
typedef enum MyCLikeEnum {
|
||||
Foo1,
|
||||
|
@ -2,7 +2,6 @@
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
#include <uchar.h>
|
||||
|
||||
typedef enum MyCLikeEnum {
|
||||
Foo1,
|
||||
|
@ -2,7 +2,6 @@
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
#include <uchar.h>
|
||||
|
||||
typedef void (*A)();
|
||||
|
||||
|
@ -2,7 +2,6 @@
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
#include <uchar.h>
|
||||
|
||||
typedef void (*A)();
|
||||
|
||||
|
@ -2,7 +2,6 @@
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
#include <uchar.h>
|
||||
|
||||
#if defined(NOT_DEFINED)
|
||||
#define DEFAULT_X 8
|
||||
|
@ -2,7 +2,6 @@
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
#include <uchar.h>
|
||||
|
||||
#if defined(NOT_DEFINED)
|
||||
#define DEFAULT_X 8
|
||||
|
@ -2,4 +2,3 @@
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
#include <uchar.h>
|
||||
|
@ -2,4 +2,3 @@
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
#include <uchar.h>
|
||||
|
@ -2,7 +2,6 @@
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
#include <uchar.h>
|
||||
|
||||
#if (defined(PLATFORM_WIN) || defined(M_32))
|
||||
enum BarType {
|
||||
|
@ -2,7 +2,6 @@
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
#include <uchar.h>
|
||||
|
||||
#if (defined(PLATFORM_WIN) || defined(M_32))
|
||||
enum BarType
|
||||
|
@ -2,10 +2,9 @@
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
#include <uchar.h>
|
||||
|
||||
typedef struct Foo {
|
||||
char32_t a;
|
||||
uint32_t a;
|
||||
} Foo;
|
||||
|
||||
void root(Foo a);
|
||||
|
@ -2,10 +2,9 @@
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
#include <uchar.h>
|
||||
|
||||
typedef struct Foo {
|
||||
char32_t a;
|
||||
uint32_t a;
|
||||
} Foo;
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
@ -2,6 +2,5 @@
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
#include <uchar.h>
|
||||
|
||||
#define Foo_FOO 42
|
||||
|
@ -2,6 +2,5 @@
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
#include <uchar.h>
|
||||
|
||||
#define Foo_FOO 42
|
||||
|
@ -2,7 +2,6 @@
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
#include <uchar.h>
|
||||
|
||||
typedef uint8_t Transparent;
|
||||
|
||||
|
@ -2,7 +2,6 @@
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
#include <uchar.h>
|
||||
|
||||
typedef uint8_t Transparent;
|
||||
|
||||
|
@ -2,7 +2,6 @@
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
#include <uchar.h>
|
||||
|
||||
#define DELIMITER ':'
|
||||
|
||||
|
@ -2,7 +2,6 @@
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
#include <uchar.h>
|
||||
|
||||
#define DELIMITER ':'
|
||||
|
||||
|
@ -2,7 +2,6 @@
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
#include <uchar.h>
|
||||
|
||||
typedef struct Foo {
|
||||
bool a;
|
||||
|
@ -2,7 +2,6 @@
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
#include <uchar.h>
|
||||
|
||||
typedef struct Foo {
|
||||
bool a;
|
||||
|
@ -2,7 +2,6 @@
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
#include <uchar.h>
|
||||
|
||||
enum FillRule {
|
||||
A,
|
||||
|
@ -2,7 +2,6 @@
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
#include <uchar.h>
|
||||
|
||||
enum FillRule
|
||||
#ifdef __cplusplus
|
||||
|
@ -2,7 +2,6 @@
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
#include <uchar.h>
|
||||
|
||||
typedef struct Rect {
|
||||
float x;
|
||||
|
@ -2,7 +2,6 @@
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
#include <uchar.h>
|
||||
|
||||
typedef struct Rect {
|
||||
float x;
|
||||
|
@ -2,7 +2,6 @@
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
#include <uchar.h>
|
||||
|
||||
/**
|
||||
* The root of all evil.
|
||||
|
@ -2,7 +2,6 @@
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
#include <uchar.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
@ -2,7 +2,6 @@
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
#include <uchar.h>
|
||||
|
||||
// The root of all evil.
|
||||
void root(void);
|
||||
|
@ -2,7 +2,6 @@
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
#include <uchar.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
@ -2,7 +2,6 @@
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
#include <uchar.h>
|
||||
|
||||
/**
|
||||
* The root of all evil.
|
||||
|
@ -2,7 +2,6 @@
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
#include <uchar.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
@ -2,7 +2,6 @@
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
#include <uchar.h>
|
||||
|
||||
/**
|
||||
* The root of all evil.
|
||||
|
@ -2,7 +2,6 @@
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
#include <uchar.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
@ -2,7 +2,6 @@
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
#include <uchar.h>
|
||||
|
||||
enum A {
|
||||
a1 = 0,
|
||||
|
@ -2,7 +2,6 @@
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
#include <uchar.h>
|
||||
|
||||
enum A
|
||||
#ifdef __cplusplus
|
||||
|
@ -2,7 +2,6 @@
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
#include <uchar.h>
|
||||
|
||||
typedef struct TypedLength_f32__UnknownUnit {
|
||||
float _0;
|
||||
|
@ -2,7 +2,6 @@
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
#include <uchar.h>
|
||||
|
||||
typedef struct TypedLength_f32__UnknownUnit {
|
||||
float _0;
|
||||
|
@ -2,7 +2,6 @@
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
#include <uchar.h>
|
||||
|
||||
typedef struct Foo {
|
||||
|
||||
|
@ -2,7 +2,6 @@
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
#include <uchar.h>
|
||||
|
||||
typedef struct Foo {
|
||||
|
||||
|
@ -2,7 +2,6 @@
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
#include <uchar.h>
|
||||
|
||||
typedef struct Foo {
|
||||
|
||||
|
@ -2,7 +2,6 @@
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
#include <uchar.h>
|
||||
|
||||
typedef struct Foo {
|
||||
|
||||
|
@ -2,7 +2,6 @@
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
#include <uchar.h>
|
||||
|
||||
typedef struct dep_struct {
|
||||
uint32_t x;
|
||||
|
@ -2,7 +2,6 @@
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
#include <uchar.h>
|
||||
|
||||
typedef struct dep_struct {
|
||||
uint32_t x;
|
||||
|
@ -2,7 +2,6 @@
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
#include <uchar.h>
|
||||
|
||||
typedef struct Foo {
|
||||
|
||||
|
@ -2,7 +2,6 @@
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
#include <uchar.h>
|
||||
|
||||
typedef struct Foo {
|
||||
|
||||
|
@ -2,7 +2,6 @@
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
#include <uchar.h>
|
||||
|
||||
typedef struct Foo {
|
||||
|
||||
|
@ -2,7 +2,6 @@
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
#include <uchar.h>
|
||||
|
||||
typedef struct Foo {
|
||||
|
||||
|
@ -2,7 +2,6 @@
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
#include <uchar.h>
|
||||
|
||||
void first(void);
|
||||
|
||||
|
@ -2,7 +2,6 @@
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
#include <uchar.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
@ -2,7 +2,6 @@
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
#include <uchar.h>
|
||||
|
||||
typedef struct Normal {
|
||||
int32_t x;
|
||||
|
@ -2,7 +2,6 @@
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
#include <uchar.h>
|
||||
|
||||
typedef struct Normal {
|
||||
int32_t x;
|
||||
|
@ -2,7 +2,6 @@
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
#include <uchar.h>
|
||||
|
||||
typedef struct ExtType {
|
||||
uint32_t data;
|
||||
|
@ -2,7 +2,6 @@
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
#include <uchar.h>
|
||||
|
||||
typedef struct ExtType {
|
||||
uint32_t data;
|
||||
|
@ -2,7 +2,6 @@
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
#include <uchar.h>
|
||||
|
||||
typedef struct Fns {
|
||||
void (*noArgs)();
|
||||
|
@ -2,7 +2,6 @@
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
#include <uchar.h>
|
||||
|
||||
typedef struct Fns {
|
||||
void (*noArgs)();
|
||||
|
@ -2,4 +2,3 @@
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
#include <uchar.h>
|
||||
|
@ -2,4 +2,3 @@
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
#include <uchar.h>
|
||||
|
@ -2,5 +2,4 @@
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
#include <uchar.h>
|
||||
#include <math.h>
|
||||
|
@ -2,5 +2,4 @@
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
#include <uchar.h>
|
||||
#include <math.h>
|
||||
|
@ -2,7 +2,6 @@
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
#include <uchar.h>
|
||||
|
||||
typedef struct A {
|
||||
int32_t x;
|
||||
|
@ -2,7 +2,6 @@
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
#include <uchar.h>
|
||||
|
||||
typedef struct A {
|
||||
int32_t x;
|
||||
|
@ -2,7 +2,6 @@
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
#include <uchar.h>
|
||||
|
||||
typedef struct Foo {
|
||||
float x;
|
||||
|
@ -2,7 +2,6 @@
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
#include <uchar.h>
|
||||
|
||||
typedef struct Foo {
|
||||
float x;
|
||||
|
@ -2,7 +2,6 @@
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
#include <uchar.h>
|
||||
|
||||
enum OnlyThisShouldBeGenerated {
|
||||
Foo,
|
||||
|
@ -2,7 +2,6 @@
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
#include <uchar.h>
|
||||
|
||||
enum OnlyThisShouldBeGenerated
|
||||
#ifdef __cplusplus
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user