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.
list.h
- Committer:
- gignops
- Date:
- 2012-10-07
- Revision:
- 0:4ab1392a0142
File content as of revision 0:4ab1392a0142:
#ifndef LIST_H
#define LIST_H
#include "tp.h"
void _tp_list_realloc(_tp_list *self,int len);
void _tp_list_set(TP,_tp_list *self,int k, tp_obj v, const char *error);
void _tp_list_free(_tp_list *self);
tp_obj _tp_list_get(TP,_tp_list *self,int k,const char *error);
void _tp_list_insertx(TP,_tp_list *self, int n, tp_obj v);
void _tp_list_appendx(TP,_tp_list *self, tp_obj v);
void _tp_list_insert(TP,_tp_list *self, int n, tp_obj v);
void _tp_list_append(TP,_tp_list *self, tp_obj v);
tp_obj _tp_list_pop(TP,_tp_list *self, int n, const char *error);
int _tp_list_find(TP,_tp_list *self, tp_obj v);
tp_obj tp_index(TP);
_tp_list *_tp_list_new(void);
tp_obj _tp_list_copy(TP, tp_obj rr);
tp_obj tp_append(TP);
tp_obj tp_pop(TP);
tp_obj tp_insert(TP);
tp_obj tp_extend(TP);
tp_obj tp_list(TP);
tp_obj tp_list_n(TP,int n,tp_obj *argv);
int _tp_sort_cmp(tp_obj *a,tp_obj *b);
tp_obj tp_sort(TP);
#endif