Sha256: 4981eec48679b6a93cdcee7baf68d76848efe1004e385e3eb941afd664ff14d4

Contents?: true

Size: 579 Bytes

Versions: 27

Compression:

Stored size: 579 Bytes

Contents

/* circarray.h
 * Copyright (c) 2012, Peter Ohler
 * All rights reserved.
 */

#ifndef OJ_CIRCARRAY_H
#define OJ_CIRCARRAY_H

#include "ruby.h"

typedef struct _circArray {
    VALUE		obj_array[1024];
    VALUE		*objs;
    unsigned long	size; // allocated size or initial array size
    unsigned long	cnt;
} *CircArray;

extern CircArray	oj_circ_array_new(void);
extern void		oj_circ_array_free(CircArray ca);
extern void		oj_circ_array_set(CircArray ca, VALUE obj, unsigned long id);
extern VALUE		oj_circ_array_get(CircArray ca, unsigned long id);

#endif /* OJ_CIRCARRAY_H */

Version data entries

27 entries across 27 versions & 2 rubygems

Version Path
oj-3.10.14 ext/oj/circarray.h
oj-3.10.13 ext/oj/circarray.h
oj-3.10.12 ext/oj/circarray.h
oj-3.10.11 ext/oj/circarray.h
oj-3.10.10 ext/oj/circarray.h
oj-3.10.9 ext/oj/circarray.h
oj-3.10.8 ext/oj/circarray.h
oj-3.10.7 ext/oj/circarray.h
oj-3.10.6 ext/oj/circarray.h
oj-3.10.5 ext/oj/circarray.h
oj-3.10.3 ext/oj/circarray.h
oj-3.10.2 ext/oj/circarray.h
oj-3.10.1 ext/oj/circarray.h
zuora_connect_ui-0.10.0 vendor/ruby/2.6.0/gems/oj-3.10.0/ext/oj/circarray.h
oj-3.10.0 ext/oj/circarray.h
oj-3.9.2 ext/oj/circarray.h
oj-3.9.1 ext/oj/circarray.h
oj-3.9.0 ext/oj/circarray.h
oj-3.8.1 ext/oj/circarray.h
oj-3.8.0 ext/oj/circarray.h