Diff for /qemu/qlist.h between versions 1.1.1.2 and 1.1.1.3

version 1.1.1.2, 2018/04/24 18:24:08 version 1.1.1.3, 2018/04/24 18:56:17
Line 16 Line 16
 #include "qobject.h"  #include "qobject.h"
 #include "qemu-queue.h"  #include "qemu-queue.h"
 #include "qemu-common.h"  #include "qemu-common.h"
   #include "qemu-queue.h"
   
 typedef struct QListEntry {  typedef struct QListEntry {
     QObject *value;      QObject *value;
Line 50  QObject *qlist_peek(QList *qlist); Line 51  QObject *qlist_peek(QList *qlist);
 int qlist_empty(const QList *qlist);  int qlist_empty(const QList *qlist);
 QList *qobject_to_qlist(const QObject *obj);  QList *qobject_to_qlist(const QObject *obj);
   
   static inline const QListEntry *qlist_first(const QList *qlist)
   {
       return QTAILQ_FIRST(&qlist->head);
   }
   
   static inline const QListEntry *qlist_next(const QListEntry *entry)
   {
       return QTAILQ_NEXT(entry, next);
   }
   
 #endif /* QLIST_H */  #endif /* QLIST_H */

Removed from v.1.1.1.2  
changed lines
  Added in v.1.1.1.3


unix.superglobalmegacorp.com