stew

a monorepo of some sort
git clone git://git.nsmpr.xyz/stew.git
Log | Files | Refs

besde.c (269B)


      1 #include <u.h>
      2 #include <libc.h>
      3 
      4 
      5 typedef struct Cell Cell;
      6 struct Cell {
      7 	int type;
      8 	long n;
      9 	char *p;
     10 };
     11 
     12 /*
     13    required opeartions:
     14    - fetch (id -> Cell *)
     15    - store (id, Cell * -> _ )
     16 */
     17 
     18 Cell *
     19 fetch(long id)
     20 {
     21 	return nil;
     22 }
     23 
     24 void
     25 store(long id, Cell *c)
     26 {
     27 }