Hello All,
I have few C files my project and from my mainwindow.cpp file I'm calling one of the function that is defined in one of the C file, but the control doesn't go into(execute) the function that I'm calling. Could someone please help me in fixing this. Thanks in advance. Following is the code.
in mainwindow.cpp file
// Other include headers
#ifdef __cplusplus
extern "C"{
#include "c_s.h"
#include "c_s.c"
//Other part of the code
void MainWindow::u_data(void)
{
//other code
m_VT(&pt1);
// Other include headers
#ifdef __cplusplus
extern "C"{
#include "c_s.h"
#include "c_s.c"
//Other part of the code
void MainWindow::u_data(void)
{
//other code
m_VT(&pt1);
To copy to clipboard, switch view to plain text mode
in c_s.c file
void m_VT(struct vt_data *out){
//do something
}
void m_VT(struct vt_data *out){
//do something
}
To copy to clipboard, switch view to plain text mode
Bookmarks