Sha256: 450727b2586b63b1a15fa77e13b284d1721077c8c0da317d2adcd3c7527d883b
Contents?: true
Size: 503 Bytes
Versions: 3
Compression:
Stored size: 503 Bytes
Contents
namespace Rice { inline Identifier::Identifier(ID id) : id_(id) { } inline Identifier::Identifier(char const* s) : id_(rb_intern(s)) { } inline Identifier::Identifier(std::string const& s) : id_(rb_intern2(s.c_str(), s.size())) { } inline char const* Identifier::c_str() const { return detail::protect(rb_id2name, id_); } inline std::string Identifier::str() const { return c_str(); } inline VALUE Identifier::to_sym() const { return ID2SYM(id_); } }
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
rice-4.3.3 | rice/Identifier.ipp |
rice-4.3.2 | rice/Identifier.ipp |
rice-4.3.1 | rice/Identifier.ipp |