Skip to content

Commit

Permalink
Add LAN_discovery to the list of apidsl-generated files.
Browse files Browse the repository at this point in the history
So it gets regenerated when the .api.h file changes.
  • Loading branch information
iphydf committed Oct 8, 2018
1 parent 3e58f3c commit 15d6422
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion other/astyle/format-source
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,15 @@ apidsl_curl() {
}

# Check if apidsl generated sources are up to date.
$APIDSL toxcore/LAN_discovery.api.h > toxcore/LAN_discovery.h &
$APIDSL toxcore/crypto_core.api.h > toxcore/crypto_core.h &
$APIDSL toxcore/ping.api.h > toxcore/ping.h &
$APIDSL toxcore/ping_array.api.h > toxcore/ping_array.h &
$APIDSL toxcore/tox.api.h > toxcore/tox.h &
$APIDSL toxav/toxav.api.h > toxav/toxav.h &
$APIDSL toxencryptsave/toxencryptsave.api.h > toxencryptsave/toxencryptsave.h &

wait; wait; wait; wait; wait; wait
wait; wait; wait; wait; wait; wait; wait

if grep '<unresolved>' */*.h; then
echo "error: some apidsl references were unresolved"
Expand Down
2 changes: 1 addition & 1 deletion toxcore/LAN_discovery.h
Original file line number Diff line number Diff line change
Expand Up @@ -70,4 +70,4 @@ bool ip_is_local(IP ip);
*/
bool ip_is_lan(IP ip);

#endif
#endif // C_TOXCORE_TOXCORE_LAN_DISCOVERY_H

0 comments on commit 15d6422

Please sign in to comment.