Example #1
0
 def trackselector(block_ptr, string_ptr, data_ptr):
     b = Block(block_ptr)
     string = Str(string_ptr)
     ret = func(b)
     if not ret:
         gterror("Track selector callback function must return a string!")
     string.append_cstr(ret)
Example #2
0
 def trackselector(block_ptr, string_ptr, data_ptr):
     b = Block(block_ptr)
     string = Str(string_ptr)
     ret = func(b)
     if not ret:
         gterror("Track selector callback function must return a string!")
     string.append_cstr(ret)
Example #3
0
 def get_title_w(ptr, str):
     s = Str(str)
     title = self.get_title()
     s.append_cstr(title)
     return 0