Beispiel #1
0
    void installGlobalUtils( Scope& scope ) {
        scope.injectNative( "hex_md5" , native_hex_md5 );
        scope.injectNative( "version" , native_version );
        scope.injectNative( "sleep" , native_sleep );

        installBenchmarkSystem( scope );
    }
Beispiel #2
0
    void installGlobalUtils( Scope& scope ){
        scope.injectNative( "hex_md5" , jsmd5 );
        scope.injectNative( "version" , JSVersion );

        installBenchmarkSystem( scope );
    }