*** empty log message ***

This commit is contained in:
2005-05-12 15:25:06 +00:00
parent 5dd3db8cc5
commit 7f4e65d422
7 changed files with 97 additions and 80 deletions

View File

@ -1,6 +1,13 @@
#include <xp/stx/memory.h>
#include <xp/stx/stx.h>
#include <xp/bas/stdio.h>
#include <xp/stx/hash.h>
void print_symbol_names (xp_stx_t* stx, xp_stx_word_t idx)
{
xp_stx_word_t key = XP_STX_AT(stx,idx,1);
xp_printf (XP_TEXT("%s\n"), &XP_STX_CHARAT(stx,key,0));
}
int xp_main ()
{
xp_stx_t stx;
@ -21,6 +28,8 @@ int xp_main ()
xp_printf (XP_TEXT("stx.true %d\n"), stx.true);
xp_printf (XP_TEXT("stx.false %d\n"), stx.false);
xp_stx_hash_traverse (&stx, stx.symbol_table, print_symbol_names);
/*
for (i = 0; i < 20; i++) {
xp_printf (XP_TEXT("%d, %d\n"),