File: slotcache.h

package info (click to toggle)
ruby-ox 2.14.23-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,504 kB
  • sloc: xml: 39,683; ansic: 9,626; ruby: 6,441; sh: 47; makefile: 2
file content (19 lines) | stat: -rw-r--r-- 398 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/* slotcache.h
 * Copyright (c) 2011, Peter Ohler
 * All rights reserved.
 */

#ifndef SLOT_CACHE_H
#define SLOT_CACHE_H

#include "ruby.h"

typedef struct _slotCache *SlotCache;

extern void slot_cache_new(SlotCache *cache);

extern VALUE slot_cache_get(SlotCache cache, const char *key, VALUE **slot, const char **keyp);

extern void slot_cache_print(SlotCache cache);

#endif /* SLOT_CACHE_H */