Herb C Reference
Loading...
Searching...
No Matches
extract.h
Go to the documentation of this file.
1#ifndef HERB_EXTRACT_H
2#define HERB_EXTRACT_H
3
4#include "util/hb_allocator.h"
5#include "util/hb_buffer.h"
6
7#include <stdbool.h>
8
13
19
21
23 const char* source,
24 hb_buffer_T* output,
25 const herb_extract_ruby_options_T* options,
26 hb_allocator_T* allocator
27);
28void herb_extract_ruby_to_buffer(const char* source, hb_buffer_T* output, hb_allocator_T* allocator);
29void herb_extract_html_to_buffer(const char* source, hb_buffer_T* output, hb_allocator_T* allocator);
30
31char* herb_extract_ruby_with_semicolons(const char* source, hb_allocator_T* allocator);
32
33char* herb_extract(const char* source, herb_extract_language_T language, hb_allocator_T* allocator);
34
35#endif
char * herb_extract(const char *source, herb_extract_language_T language, hb_allocator_T *allocator)
Definition extract.c:175
herb_extract_language_T
Definition extract.h:9
@ HERB_EXTRACT_LANGUAGE_HTML
Definition extract.h:11
@ HERB_EXTRACT_LANGUAGE_RUBY
Definition extract.h:10
char * herb_extract_ruby_with_semicolons(const char *source, hb_allocator_T *allocator)
Definition extract.c:164
const herb_extract_ruby_options_T HERB_EXTRACT_RUBY_DEFAULT_OPTIONS
Definition extract.c:11
void herb_extract_ruby_to_buffer(const char *source, hb_buffer_T *output, hb_allocator_T *allocator)
Definition extract.c:143
void herb_extract_ruby_to_buffer_with_options(const char *source, hb_buffer_T *output, const herb_extract_ruby_options_T *options, hb_allocator_T *allocator)
Definition extract.c:15
void herb_extract_html_to_buffer(const char *source, hb_buffer_T *output, hb_allocator_T *allocator)
Definition extract.c:147
Definition extract.h:14
bool preserve_positions
Definition extract.h:17
bool comments
Definition extract.h:16
bool semicolons
Definition extract.h:15