mirror of
https://github.com/jerryscript-project/jerryscript.git
synced 2025-12-15 16:29:21 +00:00
Use packed attribute for enums to modify their type.
JerryScript-DCO-1.0-Signed-off-by: Roland Takacs rtakacs.u-szeged@partner.samsung.com
This commit is contained in:
parent
b1acf1a562
commit
a45976bca6
@ -92,7 +92,7 @@ void mem_heap_valgrind_freya_mempool_request (void)
|
||||
/**
|
||||
* Length type of the block
|
||||
*/
|
||||
typedef enum : uint8_t
|
||||
typedef enum __attr_packed___
|
||||
{
|
||||
MEM_BLOCK_LENGTH_TYPE_GENERAL = 0, /**< general (may be multi-chunk) block
|
||||
*
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user