mirror of https://gitlab.com/qemu-project/qemu
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
657 B
C
29 lines
657 B
C
/*
|
|
* Dealloc Visitor
|
|
*
|
|
* Copyright IBM, Corp. 2011
|
|
*
|
|
* Authors:
|
|
* Michael Roth <mdroth@linux.vnet.ibm.com>
|
|
*
|
|
* This work is licensed under the terms of the GNU LGPL, version 2.1 or later.
|
|
* See the COPYING.LIB file in the top-level directory.
|
|
*
|
|
*/
|
|
|
|
#ifndef QAPI_DEALLOC_VISITOR_H
|
|
#define QAPI_DEALLOC_VISITOR_H
|
|
|
|
#include "qapi/visitor.h"
|
|
|
|
typedef struct QapiDeallocVisitor QapiDeallocVisitor;
|
|
|
|
/*
|
|
* The dealloc visitor is primarily used only by generated
|
|
* qapi_free_FOO() functions, and is the only visitor designed to work
|
|
* correctly in the face of a partially-constructed QAPI tree.
|
|
*/
|
|
Visitor *qapi_dealloc_visitor_new(void);
|
|
|
|
#endif
|