forked from denoland/deno
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(ext/ffi): remove dependency on stdint.h (denoland#15294)
- Loading branch information
1 parent
f8fee6c
commit 58d1126
Showing
3 changed files
with
63 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. | ||
|
||
/* Exact integral types. */ | ||
|
||
/* Signed. */ | ||
typedef signed char int8_t; | ||
typedef short int int16_t; | ||
typedef int int32_t; | ||
typedef long int int64_t; | ||
|
||
/* Unsigned. */ | ||
typedef unsigned char uint8_t; | ||
typedef unsigned short int uint16_t; | ||
typedef unsigned int uint32_t; | ||
typedef unsigned long int uint64_t; | ||
|
||
/* Types for `void *' pointers. */ | ||
typedef long int intptr_t; | ||
typedef unsigned long int uintptr_t; |