Sha256: ad4d97bfcae58f01247d0422d3710adb7047e7dfd36438b0e653c364419943bb

Contents?: true

Size: 1.07 KB

Versions: 9

Compression:

Stored size: 1.07 KB

Contents

// Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef {{"_".join(config.protocol.namespace)}}_Allocator_h
#define {{"_".join(config.protocol.namespace)}}_Allocator_h

{% for namespace in config.protocol.namespace %}
namespace {{namespace}} {
{% endfor %}

enum NotNullTagEnum { NotNullLiteral };

#define PROTOCOL_DISALLOW_NEW()                                 \
    private:                                                    \
        void* operator new(size_t) = delete;                    \
        void* operator new(size_t, NotNullTagEnum, void*) = delete; \
        void* operator new(size_t, void*) = delete;             \
    public:

#define PROTOCOL_DISALLOW_COPY(ClassName) \
    private: \
        ClassName(const ClassName&) = delete; \
        ClassName& operator=(const ClassName&) = delete

{% for namespace in config.protocol.namespace %}
} // namespace {{namespace}}
{% endfor %}

#endif // !defined({{"_".join(config.protocol.namespace)}}_Allocator_h)

Version data entries

9 entries across 9 versions & 2 rubygems

Version Path
libv8-6.0.286.54.1 vendor/v8/third_party/inspector_protocol/lib/Allocator_h.template
libv8-6.0.286.54.0 vendor/v8/third_party/inspector_protocol/lib/Allocator_h.template
libv8-6.0.286.54.0beta2 vendor/v8/third_party/inspector_protocol/lib/Allocator_h.template
libv8-6.0.286.54.0beta1 vendor/v8/third_party/inspector_protocol/lib/Allocator_h.template
libv8-6.0.286.44.0beta1 vendor/v8/third_party/inspector_protocol/lib/Allocator_h.template
node-compiler-0.9.1 vendor/node/deps/v8_inspector/third_party/WebKit/Source/platform/inspector_protocol/lib/Allocator_h.template
node-compiler-0.9.0 vendor/node-v7.2.1/deps/v8_inspector/third_party/WebKit/Source/platform/inspector_protocol/lib/Allocator_h.template
node-compiler-0.8.0 vendor/node-v7.2.0/deps/v8_inspector/third_party/WebKit/Source/platform/inspector_protocol/lib/Allocator_h.template
node-compiler-0.7.0 vendor/node-v7.1.0/deps/v8_inspector/third_party/WebKit/Source/platform/inspector_protocol/lib/Allocator_h.template