aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/pythoncore
diff options
context:
space:
mode:
authorGravatar IceN9ne2018-11-28 23:34:04 -0500
committerGravatar IceN9ne2018-11-28 23:34:04 -0500
commit73ffd3b5c5c595c79b7830834890e6adc34360b4 (patch)
treed61a2a34ee15d57f4ee870d4b0b757c53b1a5c7e /src/modules/pythoncore
parentUse override where possible and remove unnecessary usages of the virtual keyw... (diff)
downloadKVIrc-73ffd3b5c5c595c79b7830834890e6adc34360b4.tar.gz
KVIrc-73ffd3b5c5c595c79b7830834890e6adc34360b4.tar.bz2
KVIrc-73ffd3b5c5c595c79b7830834890e6adc34360b4.zip
Remove C-style typedef structs
Diffstat (limited to 'src/modules/pythoncore')
-rw-r--r--src/modules/pythoncore/pythoncoreinterface.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/modules/pythoncore/pythoncoreinterface.h b/src/modules/pythoncore/pythoncoreinterface.h
index 26b42aa1a..5dae39698 100644
--- a/src/modules/pythoncore/pythoncoreinterface.h
+++ b/src/modules/pythoncore/pythoncoreinterface.h
@@ -32,7 +32,7 @@
#define KVI_PYTHONCORECTRLCOMMAND_EXECUTE "execute"
-typedef struct _KviPythonCoreCtrlCommand_execute
+struct KviPythonCoreCtrlCommand_execute
{
unsigned int uSize;
KviKvsRunTimeContext * pKvsContext;
@@ -44,14 +44,14 @@ typedef struct _KviPythonCoreCtrlCommand_execute
QStringList lWarnings;
QStringList lArgs;
bool bQuiet;
-} KviPythonCoreCtrlCommand_execute;
+};
#define KVI_PYTHONCORECTRLCOMMAND_DESTROY "destroy"
-typedef struct _KviPythonCoreCtrlCommand_destroy
+struct KviPythonCoreCtrlCommand_destroy
{
unsigned int uSize;
QString szContext;
-} KviPythonCoreCtrlCommand_destroy;
+};
#endif // !_PYTHONCOREINTERFACE_H_