index
:
libcamera/vivid.git
pobrn/rebase
vivid
libcamera pipeline handler for VIVID
git repository hosting on libcamera.org
summary
refs
log
tree
commit
diff
log msg
author
committer
range
path:
root
/
src
/
android
/
metadata
diff options
context:
1
2
3
4
5
6
7
8
9
10
15
20
25
30
35
40
/* SPDX-License-Identifier: GPL-2.0-or-later */
/*
* Copyright (C) 2021, Google Inc.
*
* public-api.cpp - Public API validation
*/
#include <libcamera/libcamera.h>
#include
"test.h"
class
PublicAPITest
:
public
Test
{
int
run
()
{
#ifdef LIBCAMERA_BASE_PRIVATE
#error
"Public interfaces should not be exposed to LIBCAMERA_BASE_PRIVATE"
return
TestFail
;
#else
return
TestPass
;
#endif
}
};
TEST_REGISTER
(
PublicAPITest
)