Sha256: 58b3cc5688b18f6d756b69d3ac2422feb320af36cb81c3f32060e388cd57e75b

Contents?: true

Size: 805 Bytes

Versions: 37

Compression:

Stored size: 805 Bytes

Contents

#ifndef CMARK_MAP_H
#define CMARK_MAP_H

#include "chunk.h"

#ifdef __cplusplus
extern "C" {
#endif

struct cmark_map_entry {
  struct cmark_map_entry *next;
  unsigned char *label;
  unsigned int age;
};

typedef struct cmark_map_entry cmark_map_entry;

struct cmark_map;

typedef void (*cmark_map_free_f)(struct cmark_map *, cmark_map_entry *);

struct cmark_map {
  cmark_mem *mem;
  cmark_map_entry *refs;
  cmark_map_entry **sorted;
  unsigned int size;
  cmark_map_free_f free;
};

typedef struct cmark_map cmark_map;

unsigned char *normalize_map_label(cmark_mem *mem, cmark_chunk *ref);
cmark_map *cmark_map_new(cmark_mem *mem, cmark_map_free_f free);
void cmark_map_free(cmark_map *map);
cmark_map_entry *cmark_map_lookup(cmark_map *map, cmark_chunk *label);

#ifdef __cplusplus
}
#endif

#endif

Version data entries

37 entries across 37 versions & 5 rubygems

Version Path
qiita_marker-0.23.6.2 ext/qiita_marker/map.h
commonmarker-0.23.7.pre1 ext/commonmarker/map.h
qiita_marker-0.23.6.1 ext/qiita_marker/map.h
qiita_marker-0.23.6.0 ext/qiita_marker/map.h
commonmarker-0.23.6 ext/commonmarker/map.h
qiita_marker-0.23.5.1 ext/qiita_marker/map.h
qiita_marker-0.23.5.0 ext/qiita_marker/map.h
commonmarker-0.23.5 ext/commonmarker/map.h
qiita_marker-0.23.2.3 ext/qiita_marker/map.h
commonmarker-0.23.4 ext/commonmarker/map.h
mountapi-0.11.1 vendor/bundle/ruby/2.7.0/gems/commonmarker-0.23.2/ext/commonmarker/map.h
markly-0.7.0 ext/markly/map.h
qiita_marker-0.23.2.2 ext/qiita_marker/map.h
qiita_marker-0.23.2.1 ext/qiita_marker/map.h
qiita_marker-0.23.2.0 ext/qiita_marker/map.h
commonmarker-0.23.2 ext/commonmarker/map.h
commonmarker-0.23.1 ext/commonmarker/map.h
markly-0.6.1 ext/markly/map.h
commonmarker-0.23.0 ext/commonmarker/map.h
markly-0.6.0 ext/markly/map.h