Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何在DBusInterfacefor中创建方法purple_find_buddies?具体来说,我必须指定什么作为返回类型而不是GSList*?
DBusInterface
purple_find_buddies
GSList*
看起来,它只是变成了List- 在这种情况下, a List<Integer>。
List
List<Integer>
public List<Integer> PurpleFindBuddies(int account, String name);
此行属于CreateInterface为我生成的文件:
CreateInterface
CreateInterface im.pidgin.purple.PurpleService /im/pidgin/purple/PurpleObject -f