extent implementation for C bindings
More...
#include <float.h>
#include <stdio.h>
#include "ppm_extents.h"
|
void | PPM_extents2iintervals (int ndims, struct PPM_iinterval dst[ndims], const struct PPM_extent src[ndims]) |
|
void | PPM_extents2iintervals64 (int ndims, struct PPM_iinterval64 dst[ndims], const struct PPM_extent64 src[ndims]) |
|
int | PPM_sprint_extent (char buf[], const struct PPM_extent *ext) |
|
int | PPM_sprint_extent64 (char buf[], const struct PPM_extent64 *ext) |
|
int | PPM_sprint_iinterval (char buf[], const struct PPM_iinterval *iinterval) |
|
int | PPM_sprint_iinterval64 (char buf[], const struct PPM_iinterval64 *iinterval) |
|
int | PPM_sprint_iinterval_sp (char buf[], const struct PPM_iinterval_sp *iinterval) |
|
int | PPM_sprint_iinterval_dp (char buf[], const struct PPM_iinterval_dp *iinterval) |
|
extent implementation for C bindings
Copyright (C) 2010-2017 Thomas Jahns jahns.nosp@m.@dkr.nosp@m.z.de
- Version
- 1.0
- Author
- Thomas Jahns jahns.nosp@m.@dkr.nosp@m.z.de
◆ PPM_sprint_extent()
int PPM_sprint_extent |
( |
char | buf[], |
|
|
const struct PPM_extent * | ext ) |
Write string representation of extent to buf.
- Parameters
-
buf | must point to array of appropriate size, 26 is guaranteed to work. |
ext | range to print |
- Returns
- number of characters written to buf
◆ PPM_sprint_extent64()
int PPM_sprint_extent64 |
( |
char | buf[], |
|
|
const struct PPM_extent64 * | ext ) |
Write string representation of extent to buf.
- Parameters
-
buf | must point to array of appropriate size, 44 is guaranteed to work. |
ext | range to print |
- Returns
- number of characters written to buf
◆ PPM_sprint_iinterval()
int PPM_sprint_iinterval |
( |
char | buf[], |
|
|
const struct PPM_iinterval * | iinterval ) |
Write string representation of iinterval to buf.
- Parameters
-
buf | must point to array of appropriate size, 26 is guaranteed to work. |
iinterval | range to print |
- Returns
- number of characters written to buf
◆ PPM_sprint_iinterval64()
int PPM_sprint_iinterval64 |
( |
char | buf[], |
|
|
const struct PPM_iinterval64 * | iinterval ) |
Write string representation of iinterval to buf.
- Parameters
-
buf | must point to array of appropriate size, 44 is guaranteed to work. |
iinterval | range to print |
- Returns
- number of characters written to buf
◆ PPM_sprint_iinterval_dp()
int PPM_sprint_iinterval_dp |
( |
char | buf[], |
|
|
const struct PPM_iinterval_dp * | iinterval ) |
Write string representation of iinterval to buf.
- Parameters
-
buf | must point to a sufficiently large array, PPM_IINTERVAL_DP_BUF_MAX is guaranteed to suffice. |
iinterval | range to print |
- Returns
- number of characters written to buf
◆ PPM_sprint_iinterval_sp()
int PPM_sprint_iinterval_sp |
( |
char | buf[], |
|
|
const struct PPM_iinterval_sp * | iinterval ) |
Write string representation of iinterval to buf.
- Parameters
-
buf | must point to character array large enough, PPM_IINTERVAL_SP_BUF_MAX is guaranteed to suffice. |
iinterval | range to print |
- Returns
- number of characters written to buf
Das diesem Bericht zugrundeliegende Vorhaben wurde mit Mitteln des Bundesministeriums für Bildung, und Forschung unter dem Förderkennzeichen 01IH08004E gefördert. Die Verantwortung für den Inhalt dieser Veröffentlichung liegt beim Autor.