/
githubmirror
/
julia
Обзор
Документация
Войти
/
githubmirror
/
julia
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
src/support/bitvector.h
22 строки
568 B
Tristan Konolige
Add JL_ namespace to all header include guards (#22904)
22 июл 2017, 05:44
22 июл 2017, 05:44
a627e51
Код
Авторство
О чём код?
// 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