Spicy
hilti
runtime
include
safe-math.h
1
// Copyright (c) 2020-2022 by the Zeek Project. See LICENSE for details.
2
//
3
// Wrapper around functionality from 3rdparty's safe-math that we need. This
4
// needs to be in a separate implementation file because one cannot include
5
// both SafeInt.h and safe-math.h at the same time.
6
7
#pragma once
8
9
#include <cstdint>
10
11
namespace
hilti::rt::integer
{
12
17
extern
int64_t safe_negate(uint64_t x);
18
19
}
// namespace hilti::rt::integer
hilti::rt::integer
Definition:
safe-int.h:9
Generated by
1.8.13