mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2024-11-27 12:49:35 +08:00
doxygenify
This commit is contained in:
parent
2a36a3edec
commit
229d218445
@ -15,44 +15,36 @@
|
||||
** See the License for the specific language governing permissions and
|
||||
** limitations under the License.
|
||||
******************************************************************************/
|
||||
/**----------------------------------------------------------------------------
|
||||
/*----------------------------------------------------------------------------
|
||||
Include Files and Type Defines
|
||||
----------------------------------------------------------------------------**/
|
||||
#include "mfdefs.h"
|
||||
#include "emalloc.h"
|
||||
#include <math.h>
|
||||
|
||||
/**----------------------------------------------------------------------------
|
||||
/*----------------------------------------------------------------------------
|
||||
Public Code
|
||||
----------------------------------------------------------------------------**/
|
||||
/*---------------------------------------------------------------------------*/
|
||||
MICROFEATURE NewMicroFeature() {
|
||||
/*
|
||||
** Parameters: none
|
||||
** Globals: none
|
||||
** Operation:
|
||||
** This routine allocates and returns a new micro-feature
|
||||
** data structure.
|
||||
** Return: New micro-feature.
|
||||
** Exceptions: none
|
||||
** History: 7/27/89, DSJ, Created.
|
||||
/**
|
||||
* This routine allocates and returns a new micro-feature
|
||||
* data structure.
|
||||
* @return New MICROFEATURE
|
||||
* @note History: 7/27/89, DSJ, Created.
|
||||
*/
|
||||
MICROFEATURE NewMicroFeature() {
|
||||
return ((MICROFEATURE) Emalloc (sizeof (MFBLOCK)));
|
||||
} /* NewMicroFeature */
|
||||
|
||||
|
||||
/*---------------------------------------------------------------------------*/
|
||||
void FreeMicroFeatures(MICROFEATURES MicroFeatures) {
|
||||
/*
|
||||
** Parameters:
|
||||
** MicroFeatures list of micro-features to be freed
|
||||
** Globals: none
|
||||
** Operation:
|
||||
** This routine deallocates all of the memory consumed by
|
||||
** a list of micro-features.
|
||||
** Return: none
|
||||
** Exceptions: none
|
||||
** History: 7/27/89, DSJ, Created.
|
||||
/**
|
||||
* This routine deallocates all of the memory consumed by
|
||||
* a list of micro-features.
|
||||
* @param MicroFeatures list of micro-features to be freed
|
||||
* @return none
|
||||
* @note History: 7/27/89, DSJ, Created.
|
||||
*/
|
||||
void FreeMicroFeatures(MICROFEATURES MicroFeatures) {
|
||||
destroy_nodes(MicroFeatures, Efree);
|
||||
} /* FreeMicroFeatures */
|
||||
|
@ -18,11 +18,11 @@
|
||||
#ifndef MFX_H
|
||||
#define MFX_H
|
||||
|
||||
/**----------------------------------------------------------------------------
|
||||
/*----------------------------------------------------------------------------
|
||||
Include Files and Type Defines
|
||||
----------------------------------------------------------------------------**/
|
||||
#include "params.h"
|
||||
/**----------------------------------------------------------------------------
|
||||
/*----------------------------------------------------------------------------
|
||||
Variables
|
||||
----------------------------------------------------------------------------**/
|
||||
|
||||
@ -32,7 +32,7 @@ extern double_VAR_H(classify_min_slope, 0.414213562,
|
||||
extern double_VAR_H(classify_max_slope, 2.414213562,
|
||||
"Slope above which lines are called vertical");
|
||||
|
||||
/**----------------------------------------------------------------------------
|
||||
/*----------------------------------------------------------------------------
|
||||
Public Function Prototypes
|
||||
----------------------------------------------------------------------------**/
|
||||
CHAR_FEATURES BlobMicroFeatures(TBLOB *Blob, const DENORM& bl_denorm,
|
||||
|
Loading…
Reference in New Issue
Block a user