Skip to content

Commit 00e25af

Browse files
committed
Reorganization of headers to prevent the need for exporting libuv
definitions to programs that embed Julia. Femto Lisp include changes required discovered by rebuild. changed comment of ios_buffmode to a deletion Moved decl of jl_spawn inside of extern "C" {}
1 parent 35bbfed commit 00e25af

27 files changed

+108
-85
lines changed

src/alloc.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
#include <string.h>
66
#include <stdarg.h>
77
#include <assert.h>
8-
#include "julia.h"
98
#include "julia_internal.h"
109

1110
#ifdef __cplusplus

src/array.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
#ifdef _OS_WINDOWS_
88
#include <malloc.h>
99
#endif
10-
#include "julia.h"
1110
#include "julia_internal.h"
1211

1312
#ifdef __cplusplus

src/ast.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
#ifdef _OS_WINDOWS_
1010
#include <malloc.h>
1111
#endif
12-
#include "julia.h"
1312
#include "julia_internal.h"
1413
#include "flisp.h"
1514

src/builtins.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@
2424
#include <math.h>
2525
#endif
2626
#include <ctype.h>
27-
#include "julia.h"
2827
#include "julia_internal.h"
28+
#include "ios_internal.h"
2929
#include "builtin_proto.h"
3030

3131
#ifdef __cplusplus

src/codegen.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,6 @@
144144
#define NOMINMAX
145145
#endif
146146

147-
#include "julia.h"
148147
#include "julia_internal.h"
149148

150149
#include <setjmp.h>

src/dlload.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
#include <sys/stat.h>
66

77
#include "platform.h"
8-
#include "julia.h"
98
#include "julia_internal.h"
109
#ifdef _OS_WINDOWS_
1110
#include <windows.h>

src/dump.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
#ifdef _OS_WINDOWS_
88
#include <malloc.h>
99
#endif
10-
#include "julia.h"
1110
#include "julia_internal.h"
11+
#include "ios_internal.h"
1212
#include "builtin_proto.h"
1313

1414
#ifdef __cplusplus

src/flisp/flisp.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@
4545

4646
#include "platform.h"
4747
#include "libsupport.h"
48+
#include "ios_internal.h"
4849
#include "flisp.h"
4950
#include "opcodes.h"
5051

src/flisp/iostream.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
#include <sys/types.h>
77
#include <setjmp.h>
88
#include "flisp.h"
9+
#include "ios_internal.h"
910

1011
#ifdef __cplusplus
1112
extern "C" {

src/flisp/julia_extensions.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
#include <assert.h>
55
#include "flisp.h"
66
#include "mojibake.h"
7+
#include "ios_internal.h"
78

89
#ifdef __cplusplus
910
extern "C" {

0 commit comments

Comments
 (0)