view cpp/qt_core/QPointF_shell.cpp @ 393:1049b01aebd2

Fixed generator segfaults on OS X 10.6. Regarding the change to dgenerator.cpp, I am not actually sure if 0 is the correct value to pass, but it seems to work and the code which had been there before was just plain incorrect ? it read past the list boundaries.
author David Nadlinger <code@klickverbot.at>
date Sat, 28 Aug 2010 02:55:55 +0200
parents d2f48c4cb3e3
children
line wrap: on
line source

#include <qdatastream.h>
#include <qpoint.h>

#include "qtd_core.h"

// ---externC---
// QPointF::operator<<(QDataStream & arg__1)
QTD_EXTERN QTD_EXPORT void qtd_QPointF_writeTo_QDataStream
(void* __this_nativeId,
 void* arg__1)
{
    QDataStream&  __qt_arg__1 = (QDataStream& ) * (QDataStream *) arg__1;
    QPointF *__qt_this = (QPointF *) __this_nativeId;
    if (__qt_this != 0) ::operator<<((QDataStream& )__qt_arg__1, *__qt_this);

}

// QPointF::operator>>(QDataStream & arg__1)
QTD_EXTERN QTD_EXPORT void qtd_QPointF_readFrom_QDataStream
(void* __this_nativeId,
 void* arg__1)
{
    QDataStream&  __qt_arg__1 = (QDataStream& ) * (QDataStream *) arg__1;
    QPointF *__qt_this = (QPointF *) __this_nativeId;
    if (__qt_this != 0) ::operator>>((QDataStream& )__qt_arg__1, *__qt_this);

}
// ---externC---end