GrPPI  1.0
Generic and Reusable Parallel Pattern Interface
Macros
cmake-build-debug/googletest-src/googlemock/include/gmock/internal/gmock-port.h File Reference
#include <assert.h>
#include <stdlib.h>
#include <cstdint>
#include <iostream>
#include "gtest/internal/gtest-port.h"
#include "gmock/internal/custom/gmock-port.h"
Include dependency graph for cmake-build-debug/googletest-src/googlemock/include/gmock/internal/gmock-port.h:

Go to the source code of this file.

Macros

#define GMOCK_FLAG(name)   FLAGS_gmock_##name
 
#define GMOCK_DECLARE_bool_(name)   extern GTEST_API_ bool GMOCK_FLAG(name)
 
#define GMOCK_DECLARE_int32_(name)   extern GTEST_API_ int32_t GMOCK_FLAG(name)
 
#define GMOCK_DECLARE_string_(name)    extern GTEST_API_ ::std::string GMOCK_FLAG(name)
 
#define GMOCK_DEFINE_bool_(name, default_val, doc)    GTEST_API_ bool GMOCK_FLAG(name) = (default_val)
 
#define GMOCK_DEFINE_int32_(name, default_val, doc)    GTEST_API_ int32_t GMOCK_FLAG(name) = (default_val)
 
#define GMOCK_DEFINE_string_(name, default_val, doc)    GTEST_API_ ::std::string GMOCK_FLAG(name) = (default_val)
 

Macro Definition Documentation

◆ GMOCK_DECLARE_bool_

#define GMOCK_DECLARE_bool_ (   name)    extern GTEST_API_ bool GMOCK_FLAG(name)

◆ GMOCK_DECLARE_int32_

#define GMOCK_DECLARE_int32_ (   name)    extern GTEST_API_ int32_t GMOCK_FLAG(name)

◆ GMOCK_DECLARE_string_

#define GMOCK_DECLARE_string_ (   name)     extern GTEST_API_ ::std::string GMOCK_FLAG(name)

◆ GMOCK_DEFINE_bool_

#define GMOCK_DEFINE_bool_ (   name,
  default_val,
  doc 
)     GTEST_API_ bool GMOCK_FLAG(name) = (default_val)

◆ GMOCK_DEFINE_int32_

#define GMOCK_DEFINE_int32_ (   name,
  default_val,
  doc 
)     GTEST_API_ int32_t GMOCK_FLAG(name) = (default_val)

◆ GMOCK_DEFINE_string_

#define GMOCK_DEFINE_string_ (   name,
  default_val,
  doc 
)     GTEST_API_ ::std::string GMOCK_FLAG(name) = (default_val)

◆ GMOCK_FLAG

#define GMOCK_FLAG (   name)    FLAGS_gmock_##name