コード例 #1
0
ファイル: utils.cpp プロジェクト: AK-Dominator/mongo
    void installGlobalUtils( Scope& scope ) {
        scope.injectNative( "hex_md5" , native_hex_md5 );
        scope.injectNative( "version" , native_version );
        scope.injectNative( "sleep" , native_sleep );

        installBenchmarkSystem( scope );
    }
コード例 #2
0
ファイル: utils.cpp プロジェクト: ALFIO/mongo
    void installGlobalUtils( Scope& scope ){
        scope.injectNative( "hex_md5" , jsmd5 );
        scope.injectNative( "version" , JSVersion );

        installBenchmarkSystem( scope );
    }