mirror of
https://codeberg.org/andyscott/ziglings.git
synced 2024-11-08 11:20:46 -05:00
Merge remote-tracking branch 'origin/main'
This commit is contained in:
commit
31aff769cb
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