Sha256: 6f72bafff29b42a728dd995f5dc97ee283dfea96a53740f946c470ef924cf8b6

Contents?: true

Size: 2 KB

Versions: 2

Compression:

Stored size: 2 KB

Contents

/* ==========================================
    CMock Project - Automatic Mock Generation for C
    Copyright (c) 2007 Mike Karlesky, Mark VanderVoord, Greg Williams
    [Released under MIT License. Please refer to license.txt for details]
========================================== */

#if defined(__GNUC__) && !defined(__ICC)
#if !defined(__clang__)
#pragma GCC diagnostic ignored "-Wpragmas"
#endif
#pragma GCC diagnostic ignored "-Wunknown-pragmas"
#pragma GCC diagnostic ignored "-Wduplicate-decl-specifier"
#endif

struct _DUMMY_T { unsigned int a; float b; };

void const_variants1( const char* a, int const, unsigned short const * c );

void const_variants2(
	struct _DUMMY_T const * const param1,
	const unsigned long int const * const param2,
	const struct _DUMMY_T const * param3 );

const int * const_retval1(void);        /* nicety version for pointer to constant int */
int const * const_retval2(void);        /* formal version for pointer to constant int */
//int * const const_retval3(void);        /* formal version for constant pointer to int */
//int const * const const_retval4(void);  /* formal version for constant pointer to constant int */

const int* const_retval5(void);         /* sticky-left nicety version for pointer to constant int */
int const* const_retval6(void);         /* sticky-left formal version for pointer to constant int */
//int* const const_retval7(void);         /* sticky-left formal version for constant pointer to int */
//int const* const const_retval8(void);   /* sticky-left formal version for constant pointer to constant int */

const int *const_retval9(void);         /* sticky-right nicety version for pointer to constant int */
int const *const_retvalA(void);         /* sticky-right formal version for pointer to constant int */
//int *const const_retvalB(void);         /* sticky-right formal version for constant pointer to int */
//int const *const const_retvalC(void);   /* sticky-right formal version for constant pointer to constant int */

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ceedling-0.29.1 vendor/cmock/test/system/test_compilation/const.h
ceedling-0.29.0 vendor/cmock/test/system/test_compilation/const.h