aboutsummaryrefslogtreecommitdiff
path: root/src/nissy.h
diff options
context:
space:
mode:
authorSebastiano Tronto <sebastiano@tronto.net>2024-10-18 12:21:51 +0200
committerSebastiano Tronto <sebastiano@tronto.net>2024-10-18 12:21:51 +0200
commit3d6c73c33276ecedba86cb871b4b5a089571629b (patch)
tree8a68bb982d5d0bde2a8886af9aa146d3c16a8ba4 /src/nissy.h
parent4f0403d24067c1f69b21cd29c5f9e5949e64c635 (diff)
downloadnissy-core-3d6c73c33276ecedba86cb871b4b5a089571629b.tar.gz
nissy-core-3d6c73c33276ecedba86cb871b4b5a089571629b.zip
New interface function nissy_countmoves
Diffstat (limited to '')
-rw-r--r--src/nissy.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/nissy.h b/src/nissy.h
index 8f4f363..7a39927 100644
--- a/src/nissy.h
+++ b/src/nissy.h
@@ -281,6 +281,19 @@ long long nissy_solve(
281); 281);
282 282
283/* 283/*
284Parameters:
285 moves - The moves to be counted.
286
287Return values:
288 NISSY_ERROR_INVALID_MOVES - The given moves are invalid.
289 NISSY_ERROR_NULL_POINTER - The 'moves' argument is NULL.
290 Any value >= 0 - The number of moves.
291*/
292long long nissy_countmoves(
293 const char *moves
294);
295
296/*
284Set a global logger function used by this library. 297Set a global logger function used by this library.
285 298
286Parameters: 299Parameters:

Generated with cgit - Back to sebastiano.tronto.net