Suppose I have the following struct and function prototype defined in Product.h
struct Product
{
int a;
};
typedef struct Product Product;
extern int Product_GetA(Product* this);
Then, in Product.c
#include "Product.h"
int Product_GetA(Product* this)
{
return this->a;
}
The function "Product_GetA" is not listed in the Code Composer v4 outline view, and this is caused by having an argument named "this". If I change the function prototype and implementation to "Product_GetA(Product* product) the function is listed. I'd argue that this should work for a C project in CCSv4?