diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2019-04-17 00:24:51 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-04-17 00:24:51 -0400 |
| commit | bc2d60c11f7e90f401a4412d3dc6fca985071169 (patch) | |
| tree | 8e3e4e71dc24d17b4028069381b6aee0a43df347 /src/userland.cpp | |
| parent | 4c03746926562e4e9650eec7c4361836fabba5af (diff) | |
| parent | da8403bcdd6fb6928a26e5cb3813d9dc67db2eed (diff) | |
| download | zig-bc2d60c11f7e90f401a4412d3dc6fca985071169.tar.gz zig-bc2d60c11f7e90f401a4412d3dc6fca985071169.zip | |
Merge pull request #2295 from ziglang/stage1-hybrid
stage1 is now a hybrid of C++ and Zig
Diffstat (limited to 'src/userland.cpp')
| -rw-r--r-- | src/userland.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/userland.cpp b/src/userland.cpp new file mode 100644 index 0000000000..25b1492290 --- /dev/null +++ b/src/userland.cpp @@ -0,0 +1,10 @@ +// This file is a shim for zig1. The real implementations of these are in +// src-self-hosted/stage1.zig + +#include "userland.h" + +void stage2_translate_c(void) {} +void stage2_zen(const char **ptr, size_t *len) { + *ptr = nullptr; + *len = 0; +} |
