Kross
Go to the documentation of this file.
20#ifndef KROSS_MAIN_KROSSCONFIG_H
21#define KROSS_MAIN_KROSSCONFIG_H
25#include <QtCore/QString>
26#include <QtCore/QMetaType>
31 #define KROSS_DEBUG_ENABLED
33 #ifdef KROSS_DEBUG_ENABLED
38 KROSSCORE_EXPORT
void krossdebug(
const QString &s);
48 #define krosswarning(x)
61 #define KROSS_VERSION 12
64 #define KROSS_EXPORT_INTERPRETER( InterpreterImpl ) \
66 KDE_EXPORT void* krossinterpreter(int version, Kross::InterpreterInfo* info) { \
67 if(version != KROSS_VERSION) { \
68 Kross::krosswarning(QString("Interpreter skipped cause provided version %1 does not match expected version %2.").arg(version).arg(KROSS_VERSION)); \
71 return new InterpreterImpl(info); \
80 #define KROSS_PYTHON_LIBRARY "krosspython"
81 #define KROSS_RUBY_LIBRARY "krossruby"
82 #define KROSS_KJS_LIBRARY "krosskjs"
83 #define KROSS_JAVA_LIBRARY "libkrossjava"
84 #define KROSS_FALCON_LIBRARY "krossfalcon"
85 #define KROSS_QTSCRIPT_LIBRARY "krossqts"
86 #define KROSS_LUA_LIBRARY "kloss"
void krosswarning(const QString &s)
Warning function.
void krossdebug(const QString &s)
Debugging function.
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Wed Jan 24 2024 00:00:00 by
doxygen 1.10.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.