Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
tools-mirror
Micropython
提交
6d7e4708
M
Micropython
项目概览
tools-mirror
/
Micropython
11 个月 前同步成功
通知
0
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
M
Micropython
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
6d7e4708
编写于
1月 01, 2015
作者:
D
Damien George
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
unix: Prefix includes with py/; remove need for -I../py.
上级
3765ea41
变更
10
隐藏空白更改
内联
并排
Showing
10 changed file
with
31 addition
and
66 deletion
+31
-66
unix/Makefile
unix/Makefile
+0
-1
unix/file.c
unix/file.c
+3
-7
unix/gccollect.c
unix/gccollect.c
+1
-4
unix/input.c
unix/input.c
+2
-6
unix/main.c
unix/main.c
+9
-12
unix/modffi.c
unix/modffi.c
+3
-7
unix/modos.c
unix/modos.c
+3
-7
unix/modsocket.c
unix/modsocket.c
+6
-10
unix/modtermios.c
unix/modtermios.c
+3
-7
unix/modtime.c
unix/modtime.c
+1
-5
未找到文件。
unix/Makefile
浏览文件 @
6d7e4708
...
...
@@ -15,7 +15,6 @@ include ../py/py.mk
INC
=
-I
.
INC
+=
-I
..
INC
+=
-I
$(PY_SRC)
INC
+=
-I
$(BUILD)
# compiler settings
...
...
unix/file.c
浏览文件 @
6d7e4708
...
...
@@ -31,13 +31,9 @@
#include <sys/stat.h>
#include <sys/types.h>
#include "mpconfig.h"
#include "nlr.h"
#include "misc.h"
#include "qstr.h"
#include "obj.h"
#include "runtime.h"
#include "stream.h"
#include "py/nlr.h"
#include "py/runtime.h"
#include "py/stream.h"
#ifdef _WIN32
#define fsync _commit
...
...
unix/gccollect.c
浏览文件 @
6d7e4708
...
...
@@ -25,11 +25,8 @@
*/
#include <stdio.h>
#include <stdint.h>
#include "mpconfig.h"
#include "misc.h"
#include "gc.h"
#include "py/gc.h"
#if MICROPY_ENABLE_GC
...
...
unix/input.c
浏览文件 @
6d7e4708
...
...
@@ -25,15 +25,11 @@
*/
#include <stdio.h>
#include <stdint.h>
#include <stdlib.h>
#include <string.h>
#include "mpconfig.h"
#include "nlr.h"
#include "misc.h"
#include "qstr.h"
#include "obj.h"
#include "py/nlr.h"
#include "py/obj.h"
#include "input.h"
#if MICROPY_USE_READLINE
...
...
unix/main.c
浏览文件 @
6d7e4708
...
...
@@ -35,20 +35,17 @@
#include <sys/types.h>
#include <errno.h>
#include "mpconfig.h"
#include "nlr.h"
#include "obj.h"
#include "parsehelper.h"
#include "compile.h"
#include "runtime0.h"
#include "runtime.h"
#include "builtin.h"
#include "repl.h"
#include "gc.h"
#include "py/nlr.h"
#include "py/compile.h"
#include "py/parsehelper.h"
#include "py/runtime.h"
#include "py/builtin.h"
#include "py/repl.h"
#include "py/gc.h"
#include "py/stackctrl.h"
#include "py/pfenv.h"
#include "genhdr/py-version.h"
#include "input.h"
#include "stackctrl.h"
#include "pfenv.h"
// Command line options, with their defaults
STATIC
bool
compile_only
=
false
;
...
...
unix/modffi.c
浏览文件 @
6d7e4708
...
...
@@ -31,13 +31,9 @@
#include <dlfcn.h>
#include <ffi.h>
#include "mpconfig.h"
#include "nlr.h"
#include "misc.h"
#include "qstr.h"
#include "obj.h"
#include "runtime.h"
#include "binary.h"
#include "py/nlr.h"
#include "py/runtime.h"
#include "py/binary.h"
/*
* modffi uses character codes to encode a value type, based on "struct"
...
...
unix/modos.c
浏览文件 @
6d7e4708
...
...
@@ -31,13 +31,9 @@
#include <errno.h>
#include <stdlib.h>
#include "mpconfig.h"
#include "misc.h"
#include "nlr.h"
#include "qstr.h"
#include "obj.h"
#include "runtime.h"
#include "objtuple.h"
#include "py/nlr.h"
#include "py/runtime.h"
#include "py/objtuple.h"
#define RAISE_ERRNO(err_flag, error_val) \
{ if (err_flag == -1) \
...
...
unix/modsocket.c
浏览文件 @
6d7e4708
...
...
@@ -38,16 +38,12 @@
#include <netdb.h>
#include <errno.h>
#include "mpconfig.h"
#include "nlr.h"
#include "misc.h"
#include "qstr.h"
#include "obj.h"
#include "objtuple.h"
#include "objstr.h"
#include "runtime.h"
#include "stream.h"
#include "builtin.h"
#include "py/nlr.h"
#include "py/objtuple.h"
#include "py/objstr.h"
#include "py/runtime.h"
#include "py/stream.h"
#include "py/builtin.h"
/*
The idea of this module is to implement reasonable minimum of
...
...
unix/modtermios.c
浏览文件 @
6d7e4708
...
...
@@ -29,13 +29,9 @@
#include <unistd.h>
#include <errno.h>
#include "mpconfig.h"
#include "misc.h"
#include "nlr.h"
#include "qstr.h"
#include "obj.h"
#include "runtime.h"
#include "objlist.h"
#include "py/nlr.h"
#include "py/objlist.h"
#include "py/runtime.h"
#define RAISE_ERRNO(err_flag, error_val) \
{ if (err_flag == -1) \
...
...
unix/modtime.c
浏览文件 @
6d7e4708
...
...
@@ -30,11 +30,7 @@
#include <sys/time.h>
#include <math.h>
#include "mpconfig.h"
#include "misc.h"
#include "qstr.h"
#include "obj.h"
#include "runtime.h"
#include "py/runtime.h"
#ifdef _WIN32
void
msec_sleep_tv
(
struct
timeval
*
tv
)
{
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录