You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

12 lines
298 B

// library.h
#ifndef DYNLIB_LIBRARY_H
#define DYNLIB_LIBRARY_H
extern "C" {
__attribute__((visibility("default"))) void printWelcomeMessage();
__attribute__((visibility("default"))) int sub(int a, int b);
__attribute__((visibility("default"))) bool isEven(int num);
};
#endif //DYNLIB_LIBRARY_H