mirror of
https://github.com/janet-lang/janet
synced 2025-01-13 00:50:26 +00:00
11 lines
262 B
C
11 lines
262 B
C
|
#ifndef VSTRING_H_TFCSVBEE
|
||
|
#define VSTRING_H_TFCSVBEE
|
||
|
|
||
|
#include "datatypes.h"
|
||
|
|
||
|
#define VStringRaw(s) ((uint32_t *)(s) - 2)
|
||
|
#define VStringSize(v) (VStringRaw(v)[0])
|
||
|
#define VStringHash(v) (VStringRaw(v)[1])
|
||
|
|
||
|
#endif /* end of include guard: VSTRING_H_TFCSVBEE */
|