Sha256: 8ee35427d81c9d5a476bf6be0b8df2291054fa9447571ccb0fad0ad05a1d83ae
Contents?: true
Size: 499 Bytes
Versions: 11
Compression:
Stored size: 499 Bytes
Contents
#include "libmockspotify.h" sp_user * mocksp_user_create(const char *canonical_name, const char *display_name, bool is_loaded) { sp_user *user = ALLOC(sp_user); user->canonical_name = strclone(canonical_name); user->display_name = strclone(display_name); user->is_loaded = is_loaded; return user; } DEFINE_REFCOUNTERS_FOR(user); DEFINE_READER(user, canonical_name, const char *); DEFINE_READER(user, display_name, const char *); DEFINE_READER(user, is_loaded, bool);
Version data entries
11 entries across 11 versions & 1 rubygems