mirror of
https://github.com/zeux/pugixml.git
synced 2024-12-26 21:04:25 +08:00
tests: Replaced #pragma once with header guards
git-svn-id: http://pugixml.googlecode.com/svn/trunk@450 99668b35-9821-0410-8761-19e4c4f06640
This commit is contained in:
parent
75a0d2379a
commit
0e1b238fae
@ -1,7 +1,10 @@
|
||||
#pragma once
|
||||
#ifndef HEADER_TEST_ALLOCATOR_HPP
|
||||
#define HEADER_TEST_ALLOCATOR_HPP
|
||||
|
||||
#include <stddef.h>
|
||||
|
||||
void* memory_allocate(size_t size);
|
||||
size_t memory_size(void* ptr);
|
||||
void memory_deallocate(void* ptr);
|
||||
|
||||
#endif
|
||||
|
@ -1,3 +1,8 @@
|
||||
#ifndef HEADER_TEST_COMMON_HPP
|
||||
#define HEADER_TEST_COMMON_HPP
|
||||
|
||||
#include "test.hpp"
|
||||
|
||||
using namespace pugi;
|
||||
|
||||
#endif
|
||||
|
@ -1,4 +1,5 @@
|
||||
#pragma once
|
||||
#ifndef HEADER_TEST_HELPERS_HPP
|
||||
#define HEADER_TEST_HELPERS_HPP
|
||||
|
||||
#include "common.hpp"
|
||||
|
||||
@ -93,3 +94,4 @@ template <typename T> static void generic_rel_ops_test(T obj1, T obj2)
|
||||
CHECK(!(obj1 >= obj2));
|
||||
}
|
||||
|
||||
#endif
|
||||
|
@ -1,5 +1,5 @@
|
||||
#ifndef HEADER_TEST_HPP
|
||||
#define HEADER_TEST_HPP
|
||||
#ifndef HEADER_TEST_TEST_HPP
|
||||
#define HEADER_TEST_TEST_HPP
|
||||
|
||||
#include "../src/pugixml.hpp"
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
#ifndef HEADER_WRITER_STRING_HPP
|
||||
#define HEADER_WRITER_STRING_HPP
|
||||
#ifndef HEADER_TEST_WRITER_STRING_HPP
|
||||
#define HEADER_TEST_WRITER_STRING_HPP
|
||||
|
||||
#include "../src/pugixml.hpp"
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user