mirror of
https://codeberg.org/andyscott/ziglings.git
synced 2024-11-09 11:40:46 -05:00
Compare commits
4 commits
6c5fdef6b1
...
31aff769cb
Author | SHA1 | Date | |
---|---|---|---|
31aff769cb | |||
|
fa22e861d5 | ||
|
7bfd7adce8 | ||
|
58dff3f504 |
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 the import for C
|
||||
// and here the new 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