* Switch from linear search to binary ditto.
* Symbol names is "const char *" but symbol values are "void *" (not "const char *").
This commit is contained in:
parent
c42988b78b
commit
f8d7943735
3 changed files with 21 additions and 27 deletions
|
@ -28,11 +28,11 @@
|
|||
*
|
||||
* This file is part of the Contiki operating system.
|
||||
*
|
||||
* @(#)$Id: symtab.h,v 1.3 2006/12/19 09:30:57 adamdunkels Exp $
|
||||
* @(#)$Id: symtab.h,v 1.4 2007/01/12 13:55:05 bg- Exp $
|
||||
*/
|
||||
#ifndef __SYMTAB_H__
|
||||
#define __SYMTAB_H__
|
||||
|
||||
const char *symtab_lookup(const char *name);
|
||||
void *symtab_lookup(const char *name);
|
||||
|
||||
#endif /* __SYMTAB_H__ */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue