mirror of
https://github.com/janet-lang/janet
synced 2024-12-25 07:50:27 +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 */
|