Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
dict.h
- Committer:
- gignops
- Date:
- 2012-10-07
- Revision:
- 0:4ab1392a0142
File content as of revision 0:4ab1392a0142:
#ifndef DICT_H
#define DICT_H
#include "tp.h"
int tp_lua_hash(void const *v,int l);
void _tp_dict_free(_tp_dict *self);
int tp_hash(TP,tp_obj v);
void _tp_dict_hash_set(TP,_tp_dict *self, int hash, tp_obj k, tp_obj v);
void _tp_dict_tp_realloc(TP,_tp_dict *self,int len);
int _tp_dict_hash_find(TP,_tp_dict *self, int hash, tp_obj k);
int _tp_dict_find(TP,_tp_dict *self,tp_obj k);
void _tp_dict_setx(TP,_tp_dict *self,tp_obj k, tp_obj v);
void _tp_dict_set(TP,_tp_dict *self,tp_obj k, tp_obj v);
tp_obj _tp_dict_get(TP,_tp_dict *self,tp_obj k, const char *error);
void _tp_dict_del(TP,_tp_dict *self,tp_obj k, const char *error);
_tp_dict *_tp_dict_new(void);
tp_obj _tp_dict_copy(TP,tp_obj rr);
int _tp_dict_next(TP,_tp_dict *self);
tp_obj tp_merge(TP);
tp_obj tp_dict(TP);
tp_obj tp_dict_n(TP,int n, tp_obj* argv);
#endif