Sha256: 97f3f4c1b8b375fe1c0ba7d09feb15cbde1b872c0e2e0faa8d2da32b430df634

Contents?: true

Size: 672 Bytes

Versions: 31

Compression:

Stored size: 672 Bytes

Contents

#ifndef GUMBO_REPLACEMENT_H_
#define GUMBO_REPLACEMENT_H_

#include <stddef.h>
#include "nokogiri_gumbo.h"

typedef struct {
  const char *const from;
  const char *const to;
} StringReplacement;

const StringReplacement *gumbo_get_svg_tag_replacement (
  const char* str,
  size_t len
);

const StringReplacement *gumbo_get_svg_attr_replacement (
  const char* str,
  size_t len
);

typedef struct {
  const char *const from;
  const char *const local_name;
  const GumboAttributeNamespaceEnum attr_namespace;
} ForeignAttrReplacement;

const ForeignAttrReplacement *gumbo_get_foreign_attr_replacement (
  const char* str,
  size_t len
);

#endif // GUMBO_REPLACEMENT_H_

Version data entries

31 entries across 31 versions & 2 rubygems

Version Path
nokogiri-1.18.1 gumbo-parser/src/replacement.h
nokogiri-1.18.0 gumbo-parser/src/replacement.h
nokogiri-1.18.0.rc1 gumbo-parser/src/replacement.h
nokogiri-1.17.2 gumbo-parser/src/replacement.h
nokogiri-1.17.1 gumbo-parser/src/replacement.h
nokogiri-1.17.0 gumbo-parser/src/replacement.h
nokogiri-1.15.7 gumbo-parser/src/replacement.h
nokogiri-1.16.8 gumbo-parser/src/replacement.h
nokogiri-1.16.7 gumbo-parser/src/replacement.h
nokogiri-1.16.6 gumbo-parser/src/replacement.h
nokogiri-1.16.4 gumbo-parser/src/replacement.h
nokogiri-1.15.6 gumbo-parser/src/replacement.h
nokogiri-1.16.3 gumbo-parser/src/replacement.h
nokogiri-1.16.2 gumbo-parser/src/replacement.h
nokogiri-1.16.1 gumbo-parser/src/replacement.h
nokogiri-1.16.0 gumbo-parser/src/replacement.h
nokogiri-1.16.0.rc1 gumbo-parser/src/replacement.h
Nokogiri_precompiled_aarch64_dedshit-1.14.5 gumbo-parser/src/replacement.h
nokogiri-1.15.5 gumbo-parser/src/replacement.h
nokogiri-1.15.4 gumbo-parser/src/replacement.h