Ignore:
Timestamp:
10/06/06 17:14:05 (18 years ago)
Author:
zorg
Message:

Separated public interface from private headers
Use opaque objects whenever possible
Some (useless?) cosmetics on libmpcdec
Remove sv5-6 outdated support
Added libwavformat for upcoming mpcdec
New layout
Work in progress...

File:
1 moved

Legend:

Unmodified
Added
Removed
  • libmpcdec/branches/zorg/src/huffman.h

    r63 r68  
    3232  OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
    3333*/
    34 
    3534/// \file huffman.h
    3635/// Data structures and functions for huffman coding.
    3736
    38 #ifndef _mpcdec_huffman_h_
    39 #define _mpcdec_huffman_h_
    40 
    41 #ifndef WIN32
    42 #include "mpcdec/config_types.h"
    43 #else
    44 #include "mpcdec/config_win32.h"
     37#ifndef _MPCDEC_HUFFMAN_H_
     38#define _MPCDEC_HUFFMAN_H_
     39#ifdef WIN32
     40#pragma once
    4541#endif
    4642
    47 #include "decoder.h"
     43#include <mpcdec//mpc_types.h>
    4844
    49 struct mpc_decoder_t; // forward declare to break circular dependencies
     45#ifdef __cplusplus
     46extern "C" {
     47#endif
    5048
    5149/// Huffman table entry.
    52 typedef struct huffman_type_t {
     50typedef struct mpc_huffman_t {
    5351    mpc_uint32_t  Code;
    5452    mpc_uint16_t  Length;
    5553    mpc_int16_t   Value;
    56 } HuffmanTyp;
     54} mpc_huffman;
    5755
    58 #endif // _mpcdec_huffman_h_
     56#ifdef __cplusplus
     57}
     58#endif
     59#endif
Note: See TracChangeset for help on using the changeset viewer.