PX4 Firmware
PX4 Autopilot Software http://px4.io
visibility.h File Reference

Definitions controlling symbol naming and visibility. More...

#include <stdlib.h>
#include <time.h>
#include <pthread.h>
#include <unistd.h>
Include dependency graph for visibility.h:

Go to the source code of this file.

Macros

#define __EXPORT   __attribute__ ((visibility ("default")))
 
#define __PRIVATE   __attribute__ ((visibility ("hidden")))
 
#define __BEGIN_DECLS
 
#define __END_DECLS
 
#define system_exit   exit
 
#define system_clock_gettime   clock_gettime
 
#define system_clock_settime   clock_settime
 
#define system_pthread_cond_timedwait   pthread_cond_timedwait
 
#define system_usleep   usleep
 
#define system_sleep   sleep
 

Detailed Description

Definitions controlling symbol naming and visibility.

This file is normally included automatically by the build system.

Definition in file visibility.h.

Macro Definition Documentation

◆ __BEGIN_DECLS

#define __BEGIN_DECLS

Definition at line 58 of file visibility.h.

Referenced by usage().

◆ __END_DECLS

#define __END_DECLS

Definition at line 59 of file visibility.h.

Referenced by hrt_elapsed_time(), orb_publish_auto(), px4_board_hw_revision(), and usage().

◆ __EXPORT

#define __EXPORT   __attribute__ ((visibility ("default")))

Definition at line 47 of file visibility.h.

Referenced by orb_publish_auto().

◆ __PRIVATE

#define __PRIVATE   __attribute__ ((visibility ("hidden")))

Definition at line 52 of file visibility.h.

◆ system_clock_gettime

#define system_clock_gettime   clock_gettime

Definition at line 86 of file visibility.h.

◆ system_clock_settime

#define system_clock_settime   clock_settime

Definition at line 87 of file visibility.h.

◆ system_exit

#define system_exit   exit

Definition at line 70 of file visibility.h.

◆ system_pthread_cond_timedwait

#define system_pthread_cond_timedwait   pthread_cond_timedwait

Definition at line 96 of file visibility.h.

◆ system_sleep

#define system_sleep   sleep

Definition at line 109 of file visibility.h.

Referenced by Simulator::poll_for_MAVLink_messages(), and simulator_main().

◆ system_usleep

#define system_usleep   usleep

Definition at line 108 of file visibility.h.

Referenced by px4::logger::LogWriterFile::start_log().