Changeset 17 for trunk/libdjvu/miniexp.h


Ignore:
Timestamp:
May 3, 2006, 10:14:37 AM (15 years ago)
Author:
Eugene Romanenko
Message:

update makefiles, remove absolute paths, update djvulibre to version 3.5.17

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libdjvu/miniexp.h

    r15 r17  
    1515// -------------------------------------------------------------------
    1616*/
    17 /* $Id: miniexp.h,v 1.6 2005/10/29 16:32:21 leonb Exp $ */
     17/* $Id: miniexp.h,v 1.12 2006/02/21 19:27:41 leonb Exp $ */
    1818
    1919#ifndef MINIEXP_H
     
    120120   The empty list. */
    121121
    122 const miniexp_t miniexp_nil = (miniexp_t)(size_t)0;
     122#define miniexp_nil ((miniexp_t)(size_t)0)
    123123
    124124/* miniexp_dummy --
     
    126126   various exceptional conditions. */
    127127
    128 const miniexp_t miniexp_dummy = (miniexp_t)(size_t)2;
     128#define miniexp_dummy ((miniexp_t)(size_t)2)
    129129
    130130/* miniexp_listp --
     
    491491MINILISPAPI miniexp_t miniexp_pprint(miniexp_t p, int width);
    492492
     493/* miniexp_pname --
     494   Returns a string containing the textual representation
     495   of a minilisp expression. Set argument <width> to zero
     496   to output a single line, or to a positive value to
     497   perform pretty line breaks for this intended number of columns.
     498   These functions can cause a garbage collection to occur.
     499   It works by temporarily redefining <minilisp_puts>. */
     500
     501MINILISPAPI miniexp_t miniexp_pname(miniexp_t p, int width);
     502
    493503/* minilisp_print_7bits --
    494504   When this flag is set, all non ascii characters
     
    568578  /* mark: iterates over miniexps contained by this object
    569579     for garbage collecting purposes. */
    570   virtual void mark(minilisp_mark_t action);
     580  virtual void mark(minilisp_mark_t*);
     581
    571582  /* pname: returns a printable name for this object.
    572583     The caller must deallocate the result with delete[]. */
Note: See TracChangeset for help on using the changeset viewer.