Sha256: 5860785e5ee0b4b1d69565b62ea92fb6c4a8b8459407728a21f4c4d3114ac417

Contents?: true

Size: 668 Bytes

Versions: 2

Compression:

Stored size: 668 Bytes

Contents

/* =========================================================================
    CMock - Automatic Mock Generation for C
    ThrowTheSwitch.org
    Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams
    SPDX-License-Identifier: MIT
========================================================================= */


static inline int dummy_func_0(void) {
	return 5;
}

inline static int dummy_func_1(int a) {
	int a = dummy_func_0();
	int b = 10;

	return a + b;
}

int inline static dummy_func_2(int a, char b, float c) {
	c += 3.14;
	b -= 32;
	return a + (int)(b) + (int)c;
}

void dummy_normal_func(int a);

inline void dummy_func_3(void) {
	//NOP
}

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ceedling-1.0.1 vendor/cmock/test/system/test_compilation/inline.h
ceedling-1.0.0 vendor/cmock/test/system/test_compilation/inline.h