Browse Source

Internal fix.

master
Christopher Snowhill 2 years ago
parent
commit
d48ac9848b
1 changed files with 21 additions and 20 deletions
  1. +21
    -20
      Frameworks/Dumb/dumb/include/internal/tarray.h

+ 21
- 20
Frameworks/Dumb/dumb/include/internal/tarray.h View File

@@ -1,20 +1,21 @@
#ifndef _T_ARRAY_H_
#define _T_ARRAY_H_
#include <stdlib.h>
#include "internal/dumb.h"
void *timekeeping_array_create(size_t size);
void timekeeping_array_destroy(void *array);
void *timekeeping_array_dup(void *array);
void timekeeping_array_reset(void *array, size_t loop_start);
void timekeeping_array_push(void *array, size_t index, LONG_LONG time);
void timekeeping_array_bump(void *array, size_t index);
unsigned int timekeeping_array_get_count(void *array, size_t index);
LONG_LONG timekeeping_array_get_item(void *array, size_t index);
#endif
#ifndef _T_ARRAY_H_
#define _T_ARRAY_H_

#include <stdlib.h>

#define LONG_LONG long long

void *timekeeping_array_create(size_t size);
void timekeeping_array_destroy(void *array);
void *timekeeping_array_dup(void *array);

void timekeeping_array_reset(void *array, size_t loop_start);

void timekeeping_array_push(void *array, size_t index, LONG_LONG time);
void timekeeping_array_bump(void *array, size_t index);

unsigned int timekeeping_array_get_count(void *array, size_t index);

LONG_LONG timekeeping_array_get_item(void *array, size_t index);

#endif

Loading…
Cancel
Save