Lingua-XFST

 view release on metacpan or  search on metacpan

privates/xfsm_api.h  view on Meta::CPAN

#define FST_defined_nets(X)           (X)->define.net_table
#define FST_defined_sets(X)           (X)->define.set_table

  FST_CNTXTptr get_default_cfsm_context(void);
  /* Returns a pointer to the structure allocated and initialized by
     initialize_cfsm(). */

  int check_for_input_encoding(int *char_encoding, FILE *stream);
  /* Looks at the current position in the stream to see if it gives
     an indication of the character encoding for the file, that is,
     either a BOM (Byte Order Mark) or an Emacs-style character
     encoding declaration of the form
     # -*- coding: utf-8 -*-
     or
     # -*- coding: iso-8859-1 -*-
     If that is the case, the *char_encoding is set to either
     CHAR_ENC_UTF_8 or CHAR_ENC_ISO_8859_1 and the file position
     in the stream moves to the first byte beyond the character
     encoding indication. If no character encoding indication is
     found *char_encoding is set to CHAR_ENC_UNKNOWN and the file
     position in the stream remains unchanged. Returns 0 unless



( run in 0.300 second using v1.01-cache-2.11-cpan-e9daa2b36ef )