diff options
author | dimitri staessens <[email protected]> | 2016-03-30 13:17:34 +0200 |
---|---|---|
committer | dimitri staessens <[email protected]> | 2016-03-30 13:17:34 +0200 |
commit | 9aa7cd1d8d137bdb11f963af3e29ba4f421ab6b3 (patch) | |
tree | 2ca4abbddec6866be75fa51c4ed7368fadf020a1 /include | |
parent | 2ed8914deed73a558c6fbac7f107f47dc22f22d2 (diff) | |
download | ouroboros-9aa7cd1d8d137bdb11f963af3e29ba4f421ab6b3.tar.gz ouroboros-9aa7cd1d8d137bdb11f963af3e29ba4f421ab6b3.zip |
lib: fixes for instance_name
fixes wrong check, checks now use lazy evaluation
changed the order of instance_name_cpy to (dst, src)
Diffstat (limited to 'include')
-rw-r--r-- | include/ouroboros/instance_name.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/ouroboros/instance_name.h b/include/ouroboros/instance_name.h index b3e528c0..351b222f 100644 --- a/include/ouroboros/instance_name.h +++ b/include/ouroboros/instance_name.h @@ -72,8 +72,8 @@ instance_name_t * instance_name_dup(const instance_name_t * src); * Copies the source object contents into the destination object, both must * be previously allocated */ -int instance_name_cpy(const instance_name_t * src, - instance_name_t * dst); +int instance_name_cpy(instance_name_t * dst, + const instance_name_t * src); int instance_name_cmp(const instance_name_t * a, const instance_name_t * b); |