FastDeploy  latest
Fast & Easy to Deploy!
Macros | Typedefs
fd_common.h File Reference
#include <stdint.h>
#include <stdio.h>
Include dependency graph for fd_common.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define FASTDEPLOY_CAPI_EXPORT   __attribute__((visibility("default")))
 
#define __fd_give
 
#define __fd_take
 
#define __fd_keep
 
#define TRUE   1
 
#define FALSE   0
 

Typedefs

typedef int8_t FD_C_Bool
 

Macro Definition Documentation

◆ __fd_give

#define __fd_give

__fd_give means that a new object is returned. The user should make sure that the returned pointer is used exactly once as a value for an __fd_take argument. In between, it can be used as a value for as many __fd_keep arguments as the user likes.

◆ __fd_keep

#define __fd_keep

__fd_keep means that the function will only use the object temporarily. The object which the argument points to is not taken over by the function. After the function has finished, the user can still use it as an argument to other functions.

◆ __fd_take

#define __fd_take

__fd_take means that the object the argument points to is taken over by the function and may no longer be used by the user as an argument to any other function. The pointer value must be one returned by a function returning an __fd_give pointer.

◆ FALSE

#define FALSE   0

◆ FASTDEPLOY_CAPI_EXPORT

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

◆ TRUE

#define TRUE   1

Typedef Documentation

◆ FD_C_Bool

typedef int8_t FD_C_Bool