Ignore:
Timestamp:
Sep 14, 2020, 11:46:32 PM (5 years ago)
Author:
bird
Message:

kash: Use reference counting of parser output in threaded-mode.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kash/memalloc.h

    r3457 r3458  
    9090struct pstack_block;
    9191unsigned pstackretain(struct pstack_block *);
    92 unsigned pstackrelease(struct shinstance *, struct pstack_block *);
    93 struct pstack_block *pstackpush(struct shinstance *);
     92void pstackpop(struct shinstance *, unsigned);
     93unsigned pstackrelease(struct shinstance *, struct pstack_block *, const char *);
     94unsigned pstackretainpush(struct shinstance *, struct pstack_block *);
     95struct pstack_block *pstackallocpush(struct shinstance *);
    9496#endif
    9597void *pstalloc(struct shinstance *, size_t);
Note: See TracChangeset for help on using the changeset viewer.