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.15.3 gumbo-parser/src/replacement.h
nokogiri-1.15.2 gumbo-parser/src/replacement.h
nokogiri-1.14.5 gumbo-parser/src/replacement.h
nokogiri-1.15.1 gumbo-parser/src/replacement.h
nokogiri-1.15.0 gumbo-parser/src/replacement.h
nokogiri-1.14.4 gumbo-parser/src/replacement.h
nokogiri-1.14.3 gumbo-parser/src/replacement.h
nokogiri-1.14.2 gumbo-parser/src/replacement.h
nokogiri-1.14.1 gumbo-parser/src/replacement.h
nokogiri-1.14.0 gumbo-parser/src/replacement.h
nokogiri-1.14.0.rc1 gumbo-parser/src/replacement.h