misc stuff
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2893 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
/*
|
||||
* Copyright (c) 2003 Marcus Overhagen.
|
||||
* All Rights Reserved.
|
||||
*
|
||||
* This file may be used under the terms of the MIT License.
|
||||
*/
|
||||
|
||||
#ifndef _MEDIA_MISC_H_
|
||||
#define _MEDIA_MISC_H_
|
||||
|
||||
#define IS_INVALID_NODE(_node) ((_node).node <= 0 || (_node).port <= 0)
|
||||
#define IS_INVALID_NODEID(_id) ((_id) <= 0)
|
||||
#define IS_INVALID_SOURCE(_src) ((_src).port <= 0)
|
||||
#define IS_INVALID_DESTINATION(_dest) ((_dest).port <= 0)
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user