mirror of
https://gitlab.freedesktop.org/uchardet/uchardet.git
synced 2025-12-06 16:56:40 +08:00
commit
84e292d1b9
@ -34,8 +34,8 @@
|
|||||||
* the terms of any one of the MPL, the GPL or the LGPL.
|
* the terms of any one of the MPL, the GPL or the LGPL.
|
||||||
*
|
*
|
||||||
* ***** END LICENSE BLOCK ***** */
|
* ***** END LICENSE BLOCK ***** */
|
||||||
#ifndef ___UCHARDET_H___
|
#ifndef UCHARDET_H___
|
||||||
#define ___UCHARDET_H___
|
#define UCHARDET_H___
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
@ -43,13 +43,13 @@ extern "C" {
|
|||||||
|
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
|
|
||||||
typedef void * uchardet_t;
|
typedef struct uchardet * uchardet_t;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Create an encoding detector.
|
* Create an encoding detector.
|
||||||
* @return a handle of a instance of uchardet
|
* @return a handle of a instance of uchardet
|
||||||
*/
|
*/
|
||||||
uchardet_t uchardet_new();
|
uchardet_t uchardet_new(void);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Delete an encoding detector.
|
* Delete an encoding detector.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user