amino  1.0-beta2
Lightweight Robot Utility Library
amino.h File Reference

Top-level include file. More...

#include <assert.h>
#include <stdlib.h>
#include <stdint.h>
#include <string.h>
#include <stdio.h>
#include <math.h>
#include <errno.h>
#include <stdarg.h>
#include "amino/cblas_order.h"
#include <time.h>
#include "amino/mem.h"
#include "amino/la.h"
#include "amino/tf.h"

Go to the source code of this file.

Macros

#define AA_API
 calling and name mangling convention for functions
 
#define AA_EXTERN   extern
 name mangling convention external symbols
 
#define AA_RESTRICT   restrict
 Defined restrict keyword based on language flavor.
 
#define AA_DEPRECATED   __attribute__ ((deprecated))
 deprecated thing More...
 
#define AA_FALLTHROUGH   do {} while (0) /* fallthrough */
 Explicit fallthrough of switch cases.
 
#define AA_IBILLION   1000000000
 (int) 1e9
 
#define AA_IMILLION   1000000
 (int) 1e6
 
#define AA_QUOTE(X)   (#X)
 Stringify X.
 
#define AA_ENUM_SYM_CASE(res, sym)   case sym: (res) = #sym; break;
 Enum case sym that stores stringified sym in res.
 
#define AA_SWAP(a, b)
 SWAP a and b. More...
 

Detailed Description

Top-level include file.

Definition in file amino.h.

Macro Definition Documentation

◆ AA_DEPRECATED

AA_EXTERN int aa_opt_verbosity AA_DEPRECATED   __attribute__ ((deprecated))

deprecated thing

don't use

Definition at line 103 of file amino.h.

◆ AA_SWAP

#define AA_SWAP (   a,
 
)
Value:
{ \
const __typeof__(a) aa_$_tmpa = (a); \
const __typeof__(b) aa_$_tmpb = (b); \
(a) = aa_$_tmpb; \
(b) = aa_$_tmpa; \
}

SWAP a and b.

Definition at line 127 of file amino.h.