This website requires JavaScript.
Explore
Help
Sign In
jimzah
/
zig
Watch
1
Star
0
Fork
0
You've already forked zig
mirror of
https://github.com/ziglang/zig.git
synced
2024-11-30 09:02:32 +00:00
Code
Issues
Actions
1
Packages
Projects
Releases
Wiki
Activity
8bc523219c
zig
/
example
/
shared_library
/
mathtest.zig
4 lines
51 B
Zig
Raw
Normal View
History
Unescape
Escape
syntax: back to -> for return type, no more =>
2016-01-26 00:06:19 +00:00
export
fn
add
(
a
:
i32
,
b
:
i32
)
-
>
i32
{
fix parameter access and thus shared library example
2015-12-02 07:53:57 +00:00
a
+
b
add root export declaration which is overridable by command line options
2015-11-28 04:24:11 +00:00
}
Reference in New Issue
Copy Permalink