Script binding vfuncs should be static

This commit is contained in:
Jonas Kulla 2013-09-28 21:27:11 +02:00
parent fa77726388
commit 6b94dd6bcb
2 changed files with 6 additions and 5 deletions

View file

@ -34,6 +34,7 @@
#include "eventthread.h"
#include "exception.h"
#include "filesystem.h"
#include "binding.h"
#include <QDebug>
@ -162,7 +163,7 @@ MRB_FUNCTION(kernelExit)
{
MRB_FUN_UNUSED_PARAM;
mrbBindingTerminate();
scriptBinding->terminate();
return mrb_nil_value();
}