mirror of
https://github.com/tree-sitter/tree-sitter.git
synced 2026-09-10 07:36:22 -04:00
17 lines
331 B
C++
17 lines
331 B
C++
#ifndef HELPERS_RECORD_ALLOC_H_
|
|
#define HELPERS_RECORD_ALLOC_H_
|
|
|
|
#include <set>
|
|
|
|
namespace record_alloc {
|
|
|
|
void start();
|
|
void stop();
|
|
void fail_at_allocation_index(size_t failure_index);
|
|
std::set<size_t> outstanding_allocation_indices();
|
|
size_t allocation_count();
|
|
|
|
} // namespace record_alloc
|
|
|
|
#endif // HELPERS_RECORD_ALLOC_H_
|