include/keima.h
changeset 129 86b368a4d80d
parent 96 9d341206620f
child 170 5e4570966ece
     1.1 --- a/include/keima.h	Sun Jul 29 12:24:00 2012 -0700
     1.2 +++ b/include/keima.h	Sun Jul 29 12:24:49 2012 -0700
     1.3 @@ -319,17 +319,13 @@
     1.4      static void ClearPendingException();
     1.5  
     1.6      /*
     1.7 -     * Type checks a function against given parameters.
     1.8 -     */
     1.9 -    static bool CheckInvokeTypes(Handle<Function> fun, const Parameter *params, unsigned nparams);
    1.10 -
    1.11 -    /*
    1.12       * Executes a function with the given parameters. This interface is
    1.13       * intended for compatibility with SourceMod's ISourcePawnEngine2 and
    1.14       * should not be used otherwise, since it is intended to support only
    1.15       * a small subset of the core language.
    1.16       */
    1.17 -    static bool Invoke(Handle<Function> fun, const Parameter *params, unsigned nparams, int *result);
    1.18 +    static bool Invoke(Handle<Function> fun, const Parameter *params, unsigned nparams,
    1.19 +                       bool checkTypes, int *result);
    1.20  
    1.21      /*
    1.22       * Sets the global message handler through which errors will be reported