ELinks 0.18.0
|
#include <ruby.h>
#include <ruby/version.h>
#include "elinks.h"
#include "bfu/dialog.h"
#include "config/home.h"
#include "intl/libintl.h"
#include "main/module.h"
#include "osdep/osdep.h"
#include "scripting/scripting.h"
#include "scripting/ruby/core.h"
#include "util/error.h"
#include "util/file.h"
#include "util/string.h"
Macros | |
#define | RUBY_HOOKS_FILENAME "hooks.rb" |
#define | TAG_RETURN 0x1 |
#define | TAG_BREAK 0x2 |
#define | TAG_NEXT 0x3 |
#define | TAG_RETRY 0x4 |
#define | TAG_REDO 0x5 |
#define | TAG_RAISE 0x6 |
#define | TAG_THROW 0x7 |
#define | TAG_FATAL 0x8 |
#define | TAG_MASK 0xf |
Functions | |
void | alert_ruby_error (struct session *ses, const char *msg) |
void | erb_report_error (struct session *ses, int error) |
static VALUE | erb_module_message (VALUE self, VALUE str) |
static VALUE | erb_stdout_p (int argc, VALUE *argv, VALUE self) |
static VALUE | erb_module_method_missing (int argc, VALUE *argv, VALUE self) |
static void | init_erb_module (void) |
void | init_ruby (struct module *module) |
Variables | |
VALUE | erb_module |
#define RUBY_HOOKS_FILENAME "hooks.rb" |
#define TAG_BREAK 0x2 |
#define TAG_FATAL 0x8 |
#define TAG_MASK 0xf |
#define TAG_NEXT 0x3 |
#define TAG_RAISE 0x6 |
#define TAG_REDO 0x5 |
#define TAG_RETRY 0x4 |
#define TAG_RETURN 0x1 |
#define TAG_THROW 0x7 |
void alert_ruby_error | ( | struct session * | ses, |
const char * | msg ) |
|
static |
|
static |
void erb_report_error | ( | struct session * | ses, |
int | error ) |
|
static |
|
static |
void init_ruby | ( | struct module * | module | ) |
VALUE erb_module |