Well,
I've checked my code-completion settings and they are correct ! But still, my Code::Blocks does not parse the header file correct.
The original code is :
#ifdef INTERFACE_LISTENER
extern void pjb_if_init(PjbIf* handleStatemachine_cy* statemachine, EventSet* eventSet);
extern void pjb_if_set_listener(PjbIf* handle, handleEvent handleEventPtr);
extern void pjb_if_raiseEventPjbIf* handle, _Event* event);
#else
extern void pjb_if_init(PjbIf* handle, Statemachine_cy* statemachine, EventSet* eventSet, EventPool* eventPool);
extern sc_boolean pjb_if_is_entryOn_raised(PjbIf* handle );
extern sc_boolean pjb_if_is_exitOn_raised(PjbIf* handle );
extern sc_boolean pjb_if_is_entryOff_raised(PjbIf* handle );
extern sc_boolean pjb_if_is_exitOff_raised(PjbIf* handle );
extern void pjb_if_raise_switchOn(PjbIf* handle);
extern void pjb_if_raise_switchOff(PjbIf* handle);
extern void pjb_if_raise_leave(PjbIf* handle);
#endif // INTERFACE_LISTENER
Even when NOT using INTERFACE_LISTENER the parser does not show the functions between #else & #endif .....
When commenting out to the following :
//#ifdef INTERFACE_LISTENER
// extern void pjb_if_init(PjbIf* handleStatemachine_cy* statemachine, EventSet* eventSet);
// extern void pjb_if_set_listener(PjbIf* handle, handleEvent handleEventPtr);
// extern void pjb_if_raiseEventPjbIf* handle, _Event* event);
//#else
extern void pjb_if_init(PjbIf* handle, Statemachine_cy* statemachine, EventSet* eventSet, EventPool* eventPool);
extern sc_boolean pjb_if_is_entryOn_raised(PjbIf* handle );
extern sc_boolean pjb_if_is_exitOn_raised(PjbIf* handle );
extern sc_boolean pjb_if_is_entryOff_raised(PjbIf* handle );
extern sc_boolean pjb_if_is_exitOff_raised(PjbIf* handle );
extern void pjb_if_raise_switchOn(PjbIf* handle);
extern void pjb_if_raise_switchOff(PjbIf* handle);
extern void pjb_if_raise_leave(PjbIf* handle);
//#endif // INTERFACE_LISTENER
then the functions show up in the symbol listing and codecompletion ..... which is obvious ....
Any ideas anyone ?
PeTer