BRL-CAD
htbl.h File Reference
#include "common.h"
#include "vmath.h"
#include "rt/defines.h"
Include dependency graph for htbl.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void rt_htbl_init (struct rt_htbl *b, size_t len, const char *str)
 
void rt_htbl_reset (struct rt_htbl *b)
 
void rt_htbl_free (struct rt_htbl *b)
 
struct hitrt_htbl_get (struct rt_htbl *b)
 

Function Documentation

◆ rt_htbl_init()

void rt_htbl_init ( struct rt_htbl b,
size_t  len,
const char *  str 
)

◆ rt_htbl_reset()

void rt_htbl_reset ( struct rt_htbl b)

Reset the table to have no elements, but retain any existing storage.

◆ rt_htbl_free()

void rt_htbl_free ( struct rt_htbl b)

Deallocate dynamic hit buffer and render unusable without a subsequent rt_htbl_init().

◆ rt_htbl_get()

struct hit * rt_htbl_get ( struct rt_htbl b)

Allocate another hit structure, extending the array if necessary.