Classes | Defines | Typedefs | Functions
test_heap-def.c File Reference

Test heap-def.h. More...

#include <vl/heap-def.h>
#include <stdio.h>
Include dependency graph for test_heap-def.c:

Go to the source code of this file.

Classes

struct  _H
struct  _S

Defines

#define VL_HEAP_array   H*
#define VL_HEAP_array_const   H const*
#define VL_HEAP_cmp   s_cmp
#define VL_HEAP_cmp   s_cmp
#define VL_HEAP_cmp   h_cmp
#define VL_HEAP_prefix   vl_heap_float
#define VL_HEAP_prefix   s_heap
#define VL_HEAP_prefix   track_s_heap
#define VL_HEAP_prefix   h_heap
#define VL_HEAP_swap   s_swap
#define VL_HEAP_swap   h_swap
#define VL_HEAP_type   float
#define VL_HEAP_type   S
#define VL_HEAP_type   S

Typedefs

typedef struct _H H
typedef struct _S S

Functions

int h_cmp (H const *h, vl_uindex a, vl_uindex b)
void h_swap (H *h, vl_uindex a, vl_uindex b)
int main (int argc VL_UNUSED, char **argv VL_UNUSED)
int s_cmp (S const *v, vl_uindex a, vl_uindex b)
void s_swap (S *v, vl_uindex a, vl_uindex b)

Detailed Description

Test heap-def.h.

Author:
Andrea Vedaldi

Definition in file test_heap-def.c.


Define Documentation

#define VL_HEAP_array   H*

Definition at line 57 of file test_heap-def.c.

#define VL_HEAP_array_const   H const*

Definition at line 58 of file test_heap-def.c.

#define VL_HEAP_cmp   s_cmp

Definition at line 60 of file test_heap-def.c.

#define VL_HEAP_cmp   s_cmp

Definition at line 60 of file test_heap-def.c.

#define VL_HEAP_cmp   h_cmp

Definition at line 60 of file test_heap-def.c.

#define VL_HEAP_prefix   vl_heap_float

Definition at line 56 of file test_heap-def.c.

#define VL_HEAP_prefix   s_heap

Definition at line 56 of file test_heap-def.c.

#define VL_HEAP_prefix   track_s_heap

Definition at line 56 of file test_heap-def.c.

#define VL_HEAP_prefix   h_heap

Definition at line 56 of file test_heap-def.c.

#define VL_HEAP_swap   s_swap

Definition at line 59 of file test_heap-def.c.

#define VL_HEAP_swap   h_swap

Definition at line 59 of file test_heap-def.c.

#define VL_HEAP_type   float

Definition at line 39 of file test_heap-def.c.

#define VL_HEAP_type   S

Definition at line 39 of file test_heap-def.c.

#define VL_HEAP_type   S

Definition at line 39 of file test_heap-def.c.


Typedef Documentation

typedef struct _H H
typedef struct _S S

Function Documentation

int h_cmp ( H const *  h,
vl_uindex  a,
vl_uindex  b 
)

Definition at line 48 of file test_heap-def.c.

void h_swap ( H h,
vl_uindex  a,
vl_uindex  b 
)

Definition at line 51 of file test_heap-def.c.

int main ( int argc  VL_UNUSED,
char **argv  VL_UNUSED 
)

Definition at line 64 of file test_heap-def.c.

int s_cmp ( S const *  v,
vl_uindex  a,
vl_uindex  b 
)

Definition at line 21 of file test_heap-def.c.

void s_swap ( S v,
vl_uindex  a,
vl_uindex  b 
)

Definition at line 25 of file test_heap-def.c.



libvlfeat
Author(s): Andrea Vedaldi
autogenerated on Thu Jun 6 2019 20:25:52