예제 #1
0
 def comment_strings(self):
     comment_strings = []
     for i in range(lib.SidTuneInfo_numberOfCommentStrings(self.obj)):
         comment_string = ffi.string(
             lib.SidTuneInfo_commentString(self.obj, i))
         comment_strings.append(comment_string)
     return comment_strings
예제 #2
0
 def error(self):
     return ffi.string(lib.sidplayfp_error(self.obj))
예제 #3
0
 def error(self):
     return ffi.string(lib.SidDatabase_error(self.obj))
예제 #4
0
 def credits(self):
     credit_strings = []
     for i in range(lib.SidInfo_numberOfCredits(self.obj)):
         credit_string = ffi.string(lib.SidInfo_credits(self.obj, i))
         credit_strings.append(credit_string)
     return credit_strings
예제 #5
0
 def info_filename(self):
     s = lib.SidTuneInfo_infoFileName(self.obj)
     if s == ffi.NULL:
         return None
     return ffi.string(s)
예제 #6
0
 def path(self):
     s = lib.SidTuneInfo_path(self.obj)
     if s == ffi.NULL:
         return None
     return ffi.string(s)
예제 #7
0
 def format_string(self):
     return ffi.string(lib.SidTuneInfo_formatString(self.obj))
예제 #8
0
 def info_strings(self):
     info_strings = []
     for i in range(lib.SidTuneInfo_numberOfInfoStrings(self.obj)):
         info_string = ffi.string(lib.SidTuneInfo_infoString(self.obj, i))
         info_strings.append(info_string)
     return info_strings
예제 #9
0
 def status_string(self):
     return ffi.string(lib.SidTune_statusString(self.obj))