lensfun 0.3.95.0
Structures and functions for camera mounts

These structures and functions allow to define and examine the properties of camera mounts. More...

Classes

struct  lfMount
 This structure contains everything specific to a camera mount. More...

Functions

DEPRECATED lfMountlf_mount_new ()
 Create a new mount object.
lfMountlf_mount_create ()
 Create a new mount object.
void lf_mount_destroy (lfMount *mount)
 Destroy a lfMount object.
void lf_mount_copy (lfMount *dest, const lfMount *source)
 Copy the data from one lfMount structure into another.
cbool lf_mount_check (lfMount *mount)
void lf_mount_add_compat (lfMount *mount, const char *val)
const char *const * lf_mount_get_compats (lfMount *mount)

Detailed Description

These structures and functions allow to define and examine the properties of camera mounts.

Function Documentation

◆ lf_mount_add_compat()

void lf_mount_add_compat ( lfMount * mount,
const char * val )

◆ lf_mount_check()

cbool lf_mount_check ( lfMount * mount)
See also
lfMount::Check

References cbool, LF_EXPORT, and lf_mount_check().

Referenced by lf_mount_check().

◆ lf_mount_copy()

void lf_mount_copy ( lfMount * dest,
const lfMount * source )

Copy the data from one lfMount structure into another.

Parameters
destThe destination object
sourceThe source object
See also
lfMount::operator = (const lfMount &)

References LF_EXPORT, and lf_mount_copy().

Referenced by lf_mount_copy().

◆ lf_mount_create()

lfMount * lf_mount_create ( )

Create a new mount object.

Returns
A new empty mount object.
See also
lfMount::lfMount()

References LF_EXPORT, and lf_mount_create().

Referenced by lf_mount_create().

◆ lf_mount_destroy()

void lf_mount_destroy ( lfMount * mount)

Destroy a lfMount object.

This is equivalent to C++ "delete mount".

Parameters
mountThe mount object to destroy.
See also
lfMount::~lfMount()

References LF_EXPORT, and lf_mount_destroy().

Referenced by lf_mount_destroy().

◆ lf_mount_get_compats()

const char *const * lf_mount_get_compats ( lfMount * mount)

◆ lf_mount_new()

DEPRECATED lfMount * lf_mount_new ( )

Create a new mount object.

This function is deprecated, use lf_mount_create () instead.

Returns
A new empty mount object.
See also
lfMount::lfMount()

References DEPRECATED, LF_EXPORT, and lf_mount_new().

Referenced by lf_mount_new().