C2A_Core
majority_vote_for3.h
[詳解]
1 
5 #ifndef MAJORITY_VOTE_FOR3_H_
6 #define MAJORITY_VOTE_FOR3_H_
7 
8 #include <stdio.h>
9 #include <stdint.h>
10 
11 typedef enum
12 {
17 
32  void* array1_arg,
33  void* array2_arg,
34  void* array3_arg,
35  size_t type_len,
36  uint32_t length);
37 
52  void* array2_arg,
53  void* array3_arg,
54  size_t type_len,
55  uint32_t length);
56 
57 #endif
MAJORITY_VOTE_FOR3_STATUS
@ MAJORITY_VOTE_MAJORITY
@ MAJORITY_VOTE_MATCH
@ MAJORITY_VOTE_ERROR
MAJORITY_VOTE_FOR3_STATUS majority_vote_for3_copy(void *res_arg, void *array1_arg, void *array2_arg, void *array3_arg, size_t type_len, uint32_t length)
3重冗長用汎用多数決関数 (コピー)
MAJORITY_VOTE_FOR3_STATUS majority_vote_for3_sync(void *array1_arg, void *array2_arg, void *array3_arg, size_t type_len, uint32_t length)
3重冗長用汎用多数決関数 (同期)
C89 環境用 stdint.h