https://github.com/JuliaLang/julia
Raw File
Tip revision: 23818dfdb4f5a2fb8a41f043ae2759962a8720ba authored by Chris Foster on 08 February 2019, 06:14:03 UTC
WIP: Internal properties Julep; getproperty -> getprop lowering
Tip revision: 23818df
bitvector.h
// This file is a part of Julia. License is MIT: https://julialang.org/license

#ifndef JL_BITVECTOR_H
#define JL_BITVECTOR_H

#ifdef __cplusplus
extern "C" {
#endif

JL_DLLEXPORT uint32_t *bitvector_new(uint64_t n, int initzero);
JL_DLLEXPORT
uint32_t *bitvector_resize(uint32_t *b, uint64_t oldsz, uint64_t newsz,
                           int initzero);
size_t bitvector_nwords(uint64_t nbits);
JL_DLLEXPORT void bitvector_set(uint32_t *b, uint64_t n, uint32_t c);
JL_DLLEXPORT uint32_t bitvector_get(uint32_t *b, uint64_t n);

#ifdef __cplusplus
}
#endif

#endif
back to top