-
Notifications
You must be signed in to change notification settings - Fork 80
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Unit test of encoding functions returning an int
- Loading branch information
Showing
1 changed file
with
24 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
/* | ||
* Copyright (c) 2017, 2020 ADLINK Technology Inc. | ||
* | ||
* This program and the accompanying materials are made available under the | ||
* terms of the Eclipse Public License 2.0 which is available at | ||
* http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 | ||
* which is available at https://www.apache.org/licenses/LICENSE-2.0. | ||
* | ||
* SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 | ||
* | ||
* Contributors: | ||
* ADLINK zenoh team, <[email protected]> | ||
*/ | ||
|
||
#ifndef ZENOH_C_NET_PRIVATE_CODEC_H | ||
#define ZENOH_C_NET_PRIVATE_CODEC_H | ||
|
||
#define _ZN_EC(fn) \ | ||
if (fn != 0) \ | ||
{ \ | ||
return -1; \ | ||
} | ||
|
||
#endif /* ZENOH_C_NET_PRIVATE_CODEC_H */ |