mirror of
https://codeberg.org/andyscott/ziglings.git
synced 2024-11-09 19:40:48 -05:00
Compare commits
No commits in common. "31aff769cb1815fc49f857879a7f8cfe079dd3d7" and "6c5fdef6b15743092893a498f8a5159d81761c28" have entirely different histories.
31aff769cb
...
6c5fdef6b1
2 changed files with 2 additions and 2 deletions
|
@ -40,7 +40,7 @@
|
|||
// our well-known "import" for Zig
|
||||
const std = @import("std");
|
||||
|
||||
// and here the new import for C
|
||||
// and here the new the import for C
|
||||
const c = @cImport({
|
||||
@cInclude("unistd.h");
|
||||
});
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
//
|
||||
// Zig provides all the necessary functions to change the bits inside
|
||||
// a variable. It is distinguished whether the bit change leads to an
|
||||
// overflow or not. The details are in the Zig documentation in section
|
||||
// overflow or not.The details are in the Zig documentation in section
|
||||
// 10.1 "Table of Operators".
|
||||
//
|
||||
// Here are some examples of how the bits of variables can be changed:
|
||||
|
|
Loading…
Reference in a new issue