diff options
Diffstat (limited to 'src/nissy.h')
| -rw-r--r-- | src/nissy.h | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/src/nissy.h b/src/nissy.h index 4b2d1eb..e7ae50e 100644 --- a/src/nissy.h +++ b/src/nissy.h | |||
| @@ -126,31 +126,6 @@ of this kind to sebastiano@tronto.net. Thanks! | |||
| 126 | /* Library functions *********************************************************/ | 126 | /* Library functions *********************************************************/ |
| 127 | 127 | ||
| 128 | /* | 128 | /* |
| 129 | Apply the secod argument as a permutation on the first argument. | ||
| 130 | |||
| 131 | Parameters: | ||
| 132 | cube - The first cube. | ||
| 133 | permutation - The second cub. This cube is treated as a permutation and | ||
| 134 | "applied" to the first cube. | ||
| 135 | result - The return parameter for the resulting cube. | ||
| 136 | |||
| 137 | Return values: | ||
| 138 | NISSY_OK - The cubes were composed succesfully. | ||
| 139 | NISSY_WARNING_UNSOLVABLE - The resulting cube is not solvable. This is | ||
| 140 | either because at least on of the given cubes | ||
| 141 | was not solvable, or due to an unknown internal | ||
| 142 | error. | ||
| 143 | NISSY_ERROR_INVALID_CUBE - At least one of the given cubes is invalid. | ||
| 144 | NISSY_ERROR_UNKNOWN - An unknown error occurred. | ||
| 145 | */ | ||
| 146 | long long | ||
| 147 | nissy_compose( | ||
| 148 | const char cube[static NISSY_SIZE_CUBE], | ||
| 149 | const char permutation[static NISSY_SIZE_CUBE], | ||
| 150 | char result[static NISSY_SIZE_CUBE] | ||
| 151 | ); | ||
| 152 | |||
| 153 | /* | ||
| 154 | Compute the inverse of the given cube. | 129 | Compute the inverse of the given cube. |
| 155 | 130 | ||
| 156 | Parameters: | 131 | Parameters: |
