/* * Definition and export of functions in pigfunc_qt.h * * Copyright (C) 1999, Ashley Winters * * You may distribute under the terms of the LGPL as specified in the * README.LICENSE file which should be included with this library. * */ #include "pigperl.h" #include "pigfunc_qt.h" PIG_DEFINE_STUB_1(const char *, pig_munge_qdatastream, class QDataStream &) PIG_DEFINE_VOID_STUB_1(pig_unmunge_qdatastream, const char *) PIG_DEFINE_FUNC_2(const unsigned char *, pig_type_qt_ubits_argument_int_int, int, int) { STRLEN n_a; PIGARGS; const uchar *pigr = PIG_ARGOK ? (uchar *)SvPV(PIG_ARG, n_a) : 0; // Perhaps there should be some size checking here? PIGARGUMENT(pigr); } #undef pig_dstreamptr PIG_DEFINE_VARIABLE(class QDataStream *, pig_dstreamptr) = 0; PIG_EXPORT_TABLE(pigfunc_qt) PIG_EXPORT_FUNC(pig_munge_qdatastream) PIG_EXPORT_FUNC(pig_unmunge_qdatastream) PIG_EXPORT_FUNC(pig_type_qt_ubits_argument_int_int) PIG_EXPORT_VARIABLE(pig_dstreamptr) PIG_EXPORT_ENDTABLE