mirror of
https://github.com/mappu/miqt.git
synced 2025-02-23 21:10:23 +00:00

The expected type of the callback is already known from the AST - this change reduces dependency on cgo specifics and makes the generated C ABI entirely cgo-independent - in particular, there is no need to include `_cgo_export.h` any more.
17 lines
326 B
C++
17 lines
326 B
C++
#include <QStringTokenizerBaseBase>
|
|
#include <qstringtokenizer.h>
|
|
#include "gen_qstringtokenizer.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
#ifdef __cplusplus
|
|
} /* extern C */
|
|
#endif
|
|
|
|
QStringTokenizerBaseBase* QStringTokenizerBaseBase_new(QStringTokenizerBaseBase* param1) {
|
|
return new QStringTokenizerBaseBase(*param1);
|
|
}
|
|
|