Sha256: 876bb4d2f26198fe1802750e6f4ffe9fbaecfde781fcb3fc830a2c907c0b33a4
Contents?: true
Size: 559 Bytes
Versions: 1
Compression:
Stored size: 559 Bytes
Contents
#include <stdlib.h> #include <string.h> #include "libmockspotify.h" /*** MockSpotify API ***/ sp_artist * mocksp_artist_create(const char *name, int loaded) { sp_artist *a; a = malloc(sizeof(sp_artist)); memset(a, 0, sizeof(sp_artist)); strcpy(a->name, name); a->loaded = loaded; return a; } /*** Spotify API ***/ void sp_artist_add_ref(sp_artist *a) { } const char * sp_artist_name(sp_artist *a) { return a->name; } bool sp_artist_is_loaded(sp_artist *a) { return a->loaded; } void sp_artist_release(sp_artist *a) { }
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
mockspotify-0.0.1 | src/artist.c |