mirror of
				https://github.com/bytecodealliance/wasm-micro-runtime.git
				synced 2025-10-27 03:11:18 +00:00 
			
		
		
		
	 653b926d53
			
		
	
	
		653b926d53
		
			
		
	
	
	
	
		
			
			Upgrade WAMR-IDE: test-tools/wamr-ide folder - add `wamr-sdk` to include libc-builtin-sysroot header files - add `prettier` check and apply script in `package.json` - update `wasm-toolchain` dockerfile and resource - enhance `build | run | debug` process to clean up the container - enhance the change workspace - enhance `wasm` type project check before building, running and debugging - format the project_compilation.json - update documents
		
			
				
	
	
		
			50 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			50 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			C
		
	
	
	
	
	
| /*
 | |
|  * Copyright (C) 2019 Intel Corporation.  All rights reserved.
 | |
|  * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 | |
|  */
 | |
| 
 | |
| #ifndef _WAMR_LIBC_STDINT_H
 | |
| #define _WAMR_LIBC_STDINT_H
 | |
| 
 | |
| #ifdef __cplusplus
 | |
| extern "C" {
 | |
| #endif
 | |
| 
 | |
| /* clang-format off */
 | |
| typedef char            int8_t;
 | |
| typedef short int       int16_t;
 | |
| typedef int             int32_t;
 | |
| typedef long long int   int64_t;
 | |
| 
 | |
| /* Unsigned.  */
 | |
| typedef unsigned char	        uint8_t;
 | |
| typedef unsigned short int      uint16_t;
 | |
| typedef unsigned int	        uint32_t;
 | |
| typedef unsigned long long int  uint64_t;
 | |
| 
 | |
| typedef __INTPTR_TYPE__		intptr_t;
 | |
| typedef __UINTPTR_TYPE__	uintptr_t;
 | |
| 
 | |
| /* Minimum of signed integral types.  */
 | |
| # define INT8_MIN		(-128)
 | |
| # define INT16_MIN		(-32767-1)
 | |
| # define INT32_MIN		(-2147483647-1)
 | |
| # define INT64_MIN		(-__INT64_C(9223372036854775807)-1)
 | |
| /* Maximum of signed integral types.  */
 | |
| # define INT8_MAX		(127)
 | |
| # define INT16_MAX		(32767)
 | |
| # define INT32_MAX		(2147483647)
 | |
| # define INT64_MAX		(__INT64_C(9223372036854775807))
 | |
| 
 | |
| /* Maximum of unsigned integral types.  */
 | |
| # define UINT8_MAX		(255)
 | |
| # define UINT16_MAX		(65535)
 | |
| # define UINT32_MAX		(4294967295U)
 | |
| # define UINT64_MAX		(__UINT64_C(18446744073709551615))
 | |
| /* clang-format on */
 | |
| 
 | |
| #ifdef __cplusplus
 | |
| }
 | |
| #endif
 | |
| 
 | |
| #endif |