Skip to content

Commit 75e2741

Browse files
committed
add copyright to C-API
1 parent 0c59605 commit 75e2741

File tree

2 files changed

+37
-3
lines changed

2 files changed

+37
-3
lines changed

api/capi.cpp

+17
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
1+
///////////////////////////////////////////////////////////////////////
2+
// File: capi.cpp
3+
// Description: C-API TessBaseAPI
4+
//
5+
// (C) Copyright 2012, Google Inc.
6+
// Licensed under the Apache License, Version 2.0 (the "License");
7+
// you may not use this file except in compliance with the License.
8+
// You may obtain a copy of the License at
9+
// http://www.apache.org/licenses/LICENSE-2.0
10+
// Unless required by applicable law or agreed to in writing, software
11+
// distributed under the License is distributed on an "AS IS" BASIS,
12+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
// See the License for the specific language governing permissions and
14+
// limitations under the License.
15+
//
16+
///////////////////////////////////////////////////////////////////////
17+
118
#ifndef TESS_CAPI_INCLUDE_BASEAPI
219
# define TESS_CAPI_INCLUDE_BASEAPI
320
#endif

api/capi.h

+20-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,22 @@
1-
#ifndef TESSERACT_API_CAPI_H__
2-
#define TESSERACT_API_CAPI_H__
1+
///////////////////////////////////////////////////////////////////////
2+
// File: capi.h
3+
// Description: C-API TessBaseAPI
4+
//
5+
// (C) Copyright 2012, Google Inc.
6+
// Licensed under the Apache License, Version 2.0 (the "License");
7+
// you may not use this file except in compliance with the License.
8+
// You may obtain a copy of the License at
9+
// http://www.apache.org/licenses/LICENSE-2.0
10+
// Unless required by applicable law or agreed to in writing, software
11+
// distributed under the License is distributed on an "AS IS" BASIS,
12+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
// See the License for the specific language governing permissions and
14+
// limitations under the License.
15+
//
16+
///////////////////////////////////////////////////////////////////////
17+
18+
#ifndef API_CAPI_H_
19+
#define API_CAPI_H_
320

421
#ifdef TESS_CAPI_INCLUDE_BASEAPI
522
# include "baseapi.h"
@@ -381,4 +398,4 @@ TESS_API float TESS_CALL TessChoiceIteratorConfidence(const TessChoiceIterator*
381398
}
382399
#endif
383400

384-
#endif /* TESSERACT_API_CAPI_H__ */
401+
#endif // API_CAPI_H_

0 commit comments

Comments
 (0)