Merge pull request #300 from ethereum/cpp-header-guards

cpp: Add missing '#pragma once' in evmc.hpp
This commit is contained in:
Paweł Bylica 2019-05-29 13:01:10 +02:00 committed by GitHub
commit 34be102581
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 0 deletions

View File

@ -2,6 +2,7 @@
* Copyright 2018-2019 The EVMC Authors.
* Licensed under the Apache License, Version 2.0.
*/
#pragma once
#include <evmc/evmc.h>
#include <evmc/helpers.h>

View File

@ -12,3 +12,12 @@
#include <evmc/instructions.h>
#include <evmc/loader.h>
#include <evmc/utils.h>
// Include again to check if headers have proper include guards.
#include <evmc/evmc.h>
#include <evmc/evmc.hpp>
#include <evmc/helpers.h>
#include <evmc/helpers.hpp>
#include <evmc/instructions.h>
#include <evmc/loader.h>
#include <evmc/utils.h>