Module: Glyr::C
- Extended by:
- FFI::Library
- Defined in:
- lib/glyr/c.rb,
lib/glyr/c/types.rb,
lib/glyr/c/functions.rb
Defined Under Namespace
Classes: Database, FetcherInfo, MemCache, Query, SourceInfo
Constant Summary collapse
- Error =
FFI::Enum.new([ :unknown, 0, :ok, :bad_option, :bad_value, :empty_struct, :no_provider, :unknown_get, :insuff_data, :skip, :stop_post, :stop_pre, :no_init, :was_stopped ])
- GetType =
FFI::Enum.new([ :noidea, :cover_art, :lyrics, :artist_photos, :artist_bio, :similar_artists, :similar_songs, :album_reviews, :tracklist, :tags, :relations, :album_list, :guitar_tabs, :backdrops, :any ])
- DataType =
FFI::Enum.new([ :noidea, :lyrics, :album_review, :artist_photo, :cover_art, :artist_bio, :similar_artist, :similar_song, :album_list, :tag, :tag_artist, :tag_album, :tag_title, :relation, :image_url, :text_url, :track, :guitar_tabs, :backdrops ])
- Normalization =
Bitmap.new( none: 1 << 0, moderate: 1 << 1, aggressive: 1 << 2, artist: 1 << 3, album: 1 << 4, title: 1 << 5 )
- FieldRequirement =
Bitmap.new( requires_artist: 1 << 0, requires_album: 1 << 1, requires_title: 1 << 2, optional_artist: 1 << 3, optional_album: 1 << 4, optional_title: 1 << 5 )