Functions File Reference
#include "typelib.hh"
#include <string>
Include dependency graph for

Go to the source code of this file.


static bool is_string_handler (Registry const &registry, Type const &type, bool known_size=false)
static void string_buffer_get (Value const &value, char *&buffer, string::size_type &size)
static VALUE value_from_string (VALUE mod, VALUE self, VALUE from, VALUE known_good_type)
static VALUE value_string_handler_p (VALUE self)
static VALUE value_to_string (VALUE mod, VALUE self, VALUE known_good_type)

Function Documentation

static bool is_string_handler ( Registry const &  registry,
Type const &  type,
bool  known_size = false 
) [static]

Definition at line 8 of file

static void string_buffer_get ( Value const &  value,
char *&  buffer,
string::size_type &  size 
) [static]

Definition at line 27 of file

static VALUE value_from_string ( VALUE  mod,
VALUE  self,
VALUE  from,
VALUE  known_good_type 
) [static]

Definition at line 55 of file

static VALUE value_string_handler_p ( VALUE  self) [static]

Definition at line 42 of file

static VALUE value_to_string ( VALUE  mod,
VALUE  self,
VALUE  known_good_type 
) [static]

Converts a C string to a Ruby string. NEVER call that directly. It is used to define #to_str on the relevant instances of Type

Definition at line 81 of file

Author(s): Sylvain Joyeux/
autogenerated on Thu Jan 2 2014 11:38:41