diff options
author | Denis Bitouzé <dbitouze@wanadoo.fr> | 2021-02-25 18:23:07 +0000 |
---|---|---|
committer | Denis Bitouzé <dbitouze@wanadoo.fr> | 2021-02-25 18:23:07 +0000 |
commit | c6101f91d071883b48b1b4b51e5eba0f36d9a78d (patch) | |
tree | 1bf7f5a881d7a4f5c5bf59d0b2821943dd822372 /Build/source/texk/web2c/mfluadir/otfcc/include/caryll/element.h | |
parent | 07ee7222e389b0777456b427a55c22d0e6ffd267 (diff) |
French translation for tlmgr updated
git-svn-id: svn://tug.org/texlive/trunk@57912 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/mfluadir/otfcc/include/caryll/element.h')
-rw-r--r-- | Build/source/texk/web2c/mfluadir/otfcc/include/caryll/element.h | 67 |
1 files changed, 0 insertions, 67 deletions
diff --git a/Build/source/texk/web2c/mfluadir/otfcc/include/caryll/element.h b/Build/source/texk/web2c/mfluadir/otfcc/include/caryll/element.h deleted file mode 100644 index 82bfc73cfb6..00000000000 --- a/Build/source/texk/web2c/mfluadir/otfcc/include/caryll/element.h +++ /dev/null @@ -1,67 +0,0 @@ -#ifndef CARYLL_INCLUDE_ELEMENT_H -#define CARYLL_INCLUDE_ELEMENT_H - -#include <stddef.h> -#include <stdlib.h> -#include <string.h> -#include <stdbool.h> - -#include "ownership.h" - -// We assume all T have trivial move constructors. -#define caryll_T(T) \ - void (*init)(MODIFY T *); \ - void (*copy)(MODIFY T *, const T *); \ - void (*move)(MODIFY T *, T *); \ - void (*dispose)(MOVE T *); \ - void (*replace)(MODIFY T *, MOVE const T); \ - void (*copyReplace)(MODIFY T *, const T); - -#define caryll_VT(T) \ - caryll_T(T); \ - T (*empty)(); \ - T (*dup)(const T); -#define caryll_RT(T) \ - caryll_T(T); \ - T *(*create)(); \ - void (*free)(MOVE T *); - -#define caryll_ElementInterfaceOf(T) const struct __caryll_elementinterface_##T -#define caryll_ElementInterface(T) \ - caryll_ElementInterfaceOf(T) { \ - caryll_T(T); \ - } -#define caryll_RefElementInterface(T) \ - caryll_ElementInterfaceOf(T) { \ - caryll_RT(T); \ - } -#define caryll_ValElementInterface(T) \ - caryll_ElementInterfaceOf(T) { \ - caryll_VT(T); \ - } - -/// Individual traits - -#define caryll_Show(T) void (*show)(const T); -#define caryll_Eq(T) bool (*equal)(const T, const T); -#define caryll_Ord(T) \ - caryll_Eq(T); \ - int (*compare)(const T a, const T b); \ - int (*compareRef)(const T *a, const T *b); -#define caryll_Monoid(T) \ - T (*neutral)(); \ - T (*plus)(const T a, const T b); \ - void (*inplacePlus)(MODIFY T * a, const T b); -#define caryll_Group(T) \ - caryll_Monoid(T); \ - void (*inplaceNegate)(MODIFY T * a); \ - T (*negate)(const T); \ - void (*inplaceMinus)(MODIFY T *, const T); \ - T (*minus)(const T, const T); -#define caryll_Module(T, TScale) \ - caryll_Group(T); \ - void (*inplaceScale)(MODIFY T * a, TScale b); \ - void (*inplacePlusScale)(MODIFY T * a, TScale b, const T c); \ - T (*scale)(const T a, TScale b); - -#endif |