zenilib  0.5.3.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Macro.cpp
Go to the documentation of this file.
1 //
2 // Copyright (c) 2011 The ANGLE Project Authors. All rights reserved.
3 // Use of this source code is governed by a BSD-style license that can be
4 // found in the LICENSE file.
5 //
6 
7 #include "Macro.h"
8 
9 #include "Token.h"
10 
11 namespace pp
12 {
13 
14 bool Macro::equals(const Macro& other) const
15 {
16  return (type == other.type) &&
17  (name == other.name) &&
18  (parameters == other.parameters) &&
19  (replacements == other.replacements);
20 }
21 
22 } // namespace pp
23 
Type type
Definition: Macro.h:35
GLint GLenum GLsizei GLsizei GLsizei GLint GLenum GLenum type
Definition: gl2ext.h:845
std::string name
Definition: Macro.h:36
png_sPLT_entryp pp
Definition: pngrutil.c:1375
EGLImageKHR EGLint * name
Definition: eglext.h:284
Replacements replacements
Definition: Macro.h:38
Parameters parameters
Definition: Macro.h:37
bool equals(const Macro &other) const
Definition: Macro.cpp:14