Fixme

Defines

#define __BEGIN_DECLS
#define __END_DECLS
#define INTMAX_MAX   INT32_MAX
#define UINTMAX_MAX   UINT32_MAX
#define UINTMAX_C(v)   UINT32_C(v)
#define INTMAX_C(v)   INT32_C(v)
#define PRINTF_LEAST32_MODIFIER   PRINTF_INT32_MODIFIER
#define PRINTF_LEAST16_MODIFIER   PRINTF_INT16_MODIFIER
#define UINT_LEAST8_MAX   UINT8_MAX
#define INT_LEAST8_MAX   INT8_MAX
#define UINT_LEAST16_MAX   UINT16_MAX
#define INT_LEAST16_MAX   INT16_MAX
#define UINT_LEAST32_MAX   UINT32_MAX
#define INT_LEAST32_MAX   INT32_MAX
#define INT_LEAST8_MIN   INT8_MIN
#define INT_LEAST16_MIN   INT16_MIN
#define INT_LEAST32_MIN   INT32_MIN
#define UINT_FAST8_MAX   UINT_LEAST8_MAX
#define INT_FAST8_MAX   INT_LEAST8_MAX
#define UINT_FAST16_MAX   UINT_LEAST16_MAX
#define INT_FAST16_MAX   INT_LEAST16_MAX
#define UINT_FAST32_MAX   UINT_LEAST32_MAX
#define INT_FAST32_MAX   INT_LEAST32_MAX
#define INT_FAST8_MIN   INT_LEAST8_MIN
#define INT_FAST16_MIN   INT_LEAST16_MIN
#define INT_FAST32_MIN   INT_LEAST32_MIN
#define STDINT_H_UINTPTR_T_DEFINED
#define always_inline   noinline
#define UNUSED(parameter)   (parameter)
#define IGNORE(parameter)   (void)(parameter)
#define LIKELY(expression)   (expression)
#define UNLIKELY(expression)   (expression)
#define DEPRECATED

Typedefs

typedef uint32_t uintmax_t
typedef int8_t int_least8_t
typedef uint8_t uint_least8_t
typedef int16_t int_least16_t
typedef uint16_t uint_least16_t
typedef int32_t int_least32_t
typedef uint32_t uint_least32_t
typedef int_least8_t int_fast8_t
typedef uint_least8_t uint_fast8_t
typedef int_least16_t int_fast16_t
typedef uint_least16_t uint_fast16_t
typedef int_least32_t int_fast32_t
typedef uint_least32_t uint_fast32_t

Variables

size_t typedef int32_t intmax_t

Detailed Description


Define Documentation

#define __BEGIN_DECLS

Definition at line 69 of file dvec.h.

#define __END_DECLS

Definition at line 70 of file dvec.h.

#define INTMAX_MAX   INT32_MAX

Definition at line 558 of file dvec.h.

#define UINTMAX_MAX   UINT32_MAX

Definition at line 559 of file dvec.h.

#define UINTMAX_C (  )     UINT32_C(v)

Definition at line 560 of file dvec.h.

#define INTMAX_C (  )     INT32_C(v)

Definition at line 561 of file dvec.h.

#define PRINTF_LEAST32_MODIFIER   PRINTF_INT32_MODIFIER

Definition at line 587 of file dvec.h.

#define PRINTF_LEAST16_MODIFIER   PRINTF_INT16_MODIFIER

Definition at line 588 of file dvec.h.

#define UINT_LEAST8_MAX   UINT8_MAX

Definition at line 589 of file dvec.h.

#define INT_LEAST8_MAX   INT8_MAX

Definition at line 590 of file dvec.h.

#define UINT_LEAST16_MAX   UINT16_MAX

Definition at line 591 of file dvec.h.

#define INT_LEAST16_MAX   INT16_MAX

Definition at line 592 of file dvec.h.

#define UINT_LEAST32_MAX   UINT32_MAX

Definition at line 593 of file dvec.h.

#define INT_LEAST32_MAX   INT32_MAX

Definition at line 594 of file dvec.h.

#define INT_LEAST8_MIN   INT8_MIN

Definition at line 595 of file dvec.h.

#define INT_LEAST16_MIN   INT16_MIN

Definition at line 596 of file dvec.h.

#define INT_LEAST32_MIN   INT32_MIN

Definition at line 597 of file dvec.h.

#define UINT_FAST8_MAX   UINT_LEAST8_MAX

Definition at line 626 of file dvec.h.

#define INT_FAST8_MAX   INT_LEAST8_MAX

Definition at line 627 of file dvec.h.

#define UINT_FAST16_MAX   UINT_LEAST16_MAX

Definition at line 628 of file dvec.h.

#define INT_FAST16_MAX   INT_LEAST16_MAX

Definition at line 629 of file dvec.h.

#define UINT_FAST32_MAX   UINT_LEAST32_MAX

Definition at line 630 of file dvec.h.

#define INT_FAST32_MAX   INT_LEAST32_MAX

Definition at line 631 of file dvec.h.

#define INT_FAST8_MIN   INT_LEAST8_MIN

Definition at line 632 of file dvec.h.

#define INT_FAST16_MIN   INT_LEAST16_MIN

Definition at line 633 of file dvec.h.

#define INT_FAST32_MIN   INT_LEAST32_MIN

Definition at line 634 of file dvec.h.

#define STDINT_H_UINTPTR_T_DEFINED

Definition at line 666 of file dvec.h.

#define always_inline   noinline

Definition at line 196 of file dvec.h.

#define UNUSED ( parameter   )     (parameter)

UNUSED provides a common mechanism for declaring unused parameters. Use it like this:

int my_function(int argc, char **UNUSED(argv)) { ... }

Definition at line 232 of file dvec.h.

#define IGNORE ( parameter   )     (void)(parameter)

IGNORE provides a common mechanism for innocuously ignoring a parameter that is sometimes used and sometimes not. It should "practically" result in nothing of concern happening. It's commonly used by macros that disable functionality based on compilation settings (e.g., BU_ASSERT()) and shouldn't normally need to be used directly by code.

We can't use (void)(sizeof((parameter)) because MSVC2010 will reportedly report a warning about the value being unused. (Consequently calls into question (void)(parameter) but untested.)

Possible alternative: ((void)(1 ? 0 : sizeof((parameter)) - sizeof((parameter))))

Definition at line 255 of file dvec.h.

#define LIKELY ( expression   )     (expression)

LIKELY provides a common mechanism for providing branch prediction hints to the compiler so that it can better optimize. It should be used when it's exceptionally likely that an expected code path will almost always be executed. Use it like this:

if (LIKELY(x == 1)) { ... expected code path ... }

Definition at line 279 of file dvec.h.

#define UNLIKELY ( expression   )     (expression)

UNLIKELY provides a common mechanism for providing branch prediction hints to the compiler so that it can better optimize. It should be used when it's exceptionaly unlikely that a given code path will ever be executed. Use it like this:

if (UNLIKELY(x == 0)) { ... unexpected code path ... }

Definition at line 302 of file dvec.h.

Referenced by bn_angle_measure(), bn_dist_pt3_line3(), bn_dist_pt3_lseg3(), bn_distsq_line3_pt3(), bn_isect_line3_line3(), bn_isect_line_lseg(), bn_isect_lseg3_lseg3(), bn_mat_fromto(), and bn_vec_ortho().

#define DEPRECATED

DEPRECATED provides a common mechanism for denoting public API (e.g., functions, typedefs, variables) that is considered deprecated. Use it like this:

DEPRECATED int my_function(void);

typedef struct karma some_type DEPRECATED;

Definition at line 325 of file dvec.h.


Typedef Documentation

typedef uint32_t uintmax_t

Definition at line 557 of file dvec.h.

typedef int8_t int_least8_t

Definition at line 581 of file dvec.h.

typedef uint8_t uint_least8_t

Definition at line 582 of file dvec.h.

typedef int16_t int_least16_t

Definition at line 583 of file dvec.h.

typedef uint16_t uint_least16_t

Definition at line 584 of file dvec.h.

typedef int32_t int_least32_t

Definition at line 585 of file dvec.h.

typedef uint32_t uint_least32_t

Definition at line 586 of file dvec.h.

Definition at line 620 of file dvec.h.

Definition at line 621 of file dvec.h.

Definition at line 622 of file dvec.h.

Definition at line 623 of file dvec.h.

Definition at line 624 of file dvec.h.

Definition at line 625 of file dvec.h.


Variable Documentation

size_t typedef int32_t intmax_t

Definition at line 556 of file dvec.h.

Generated on Tue Dec 11 13:14:30 2012 for LIBBN by  doxygen 1.6.3