Commit 61d2bd42 authored by Steve Lhomme's avatar Steve Lhomme

Core-C: fix the header paths so they all use "corec/ when necessary

git-svn-id: https://matroska.svn.sourceforge.net/svnroot/matroska/trunk/foundation_src@774 a6f86f6d-0131-4f8e-9e7b-e335508773d5
parent 9283ae6d
......@@ -30,8 +30,8 @@
#ifndef __ARRAY_H
#define __ARRAY_H
#include "corec.h"
#include "memheap.h"
#include "corec/corec.h"
#include "corec/memheap.h"
#ifdef __cplusplus
extern "C" {
......
......@@ -2,8 +2,8 @@
GROUP corec
{
INCLUDE .
EXPINCLUDE .
INCLUDE ..
EXPINCLUDE ..
DEFINE HAVE_COREC_H
EXPDEFINE HAVE_COREC_H
HEADER corec.h
......
......@@ -30,7 +30,7 @@
#ifndef __CHARCONVERT_H
#define __CHARCONVERT_H
#include "corec.h"
#include "corec/corec.h"
#ifdef __cplusplus
extern "C" {
......
......@@ -28,7 +28,7 @@
****************************************************************************/
#include "charconvert.h"
#include "str/str.h"
#include "corec/str/str.h"
#if defined(TARGET_LINUX)
......
......@@ -28,7 +28,7 @@
****************************************************************************/
#include "charconvert.h"
#include "str/str.h"
#include "corec/str/str.h"
#if defined(TARGET_OSX)
......
......@@ -28,7 +28,7 @@
****************************************************************************/
#include "charconvert.h"
#include "str/str.h"
#include "corec/str/str.h"
#if defined(TARGET_PALMOS)
......
......@@ -31,7 +31,7 @@
#include <string>
#include "charconvert.h"
#include "str/str.h"
#include "corec/str/str.h"
#if defined(TARGET_QTOPIA)
......
......@@ -30,7 +30,7 @@
#include <charconv.h>
#include "charconvert.h"
#include "str/str.h"
#include "corec/str/str.h"
#if defined(TARGET_SYMBIAN)
......
......@@ -28,7 +28,7 @@
****************************************************************************/
#include "charconvert.h"
#include "str/str.h"
#include "corec/str/str.h"
static const uint16_t codepage_1250[128] = {
0x20ac,0x0081,0x201a,0x0083,0x201e,0x2026,0x2020,0x2021,0x0088,0x2030,0x0160,0x2039,0x015a,0x0164,0x017d,0x0179,
......
......@@ -28,7 +28,7 @@
****************************************************************************/
#include "charconvert.h"
#include "str/str.h"
#include "corec/str/str.h"
#if defined(TARGET_WIN)
......
......@@ -30,7 +30,7 @@
#ifndef __DATE_H
#define __DATE_H
#include "corec.h"
#include "corec/corec.h"
#ifdef __cplusplus
extern "C" {
......
GROUP date
{
USE corec
INCLUDE ..
EXPINCLUDE ..
HEADER date.h
SOURCE(TARGET_WIN) date_win32.c
SOURCE(TARGET_LINUX || TARGET_OSX || TARGET_ANDROID) date_libc.c
......
......@@ -30,8 +30,8 @@
#ifndef __FILE_H
#define __FILE_H
#include "node/node.h"
#include "date/date.h"
#include "corec/node/node.h"
#include "corec/helpers/date/date.h"
#ifdef __cplusplus
extern "C" {
......@@ -94,7 +94,7 @@ static INLINE size_t FileBlockSize(filepos_t Start,filepos_t End)
return (size_t)End;
}
#include "file/streams.h"
#include "corec/helpers/file/streams.h"
FILE_DLL stream *FileTemp(anynode*);
FILE_DLL bool_t FileTempName(anynode*,tchar_t *Out, size_t OutLen);
......
......@@ -30,7 +30,7 @@
#ifndef __STREAM_H
#define __STREAM_H
#include "node/node.h"
#include "corec/node/node.h"
#define FTYPE_DIR 'D'
#define FTYPE_UNDEFINED 'u'
......
......@@ -30,7 +30,7 @@
#ifndef __MD5_H
#define __MD5_H
#include "corec.h"
#include "corec/corec.h"
#ifdef __cplusplus
extern "C" {
......
......@@ -30,20 +30,20 @@
#ifndef __PARSER_H
#define __PARSER_H
#include "file/file.h"
#include "charconvert/charconvert.h"
#include "corec/helpers/file/file.h"
#include "corec/helpers/charconvert/charconvert.h"
#ifdef __cplusplus
extern "C" {
#endif
#include "parser/dataheap.h"
#include "parser/strtab.h"
#include "parser/strtypes.h"
#include "parser/hotkey.h"
#include "parser/buffer.h"
#include "parser/nodelookup.h"
#include "parser/urlpart.h"
#include "dataheap.h"
#include "strtab.h"
#include "strtypes.h"
#include "hotkey.h"
#include "buffer.h"
#include "nodelookup.h"
#include "urlpart.h"
#define LANG_STRINGS_ID FOURCC('L','N','G','S')
......
......@@ -27,7 +27,7 @@
*
****************************************************************************/
#include "parser/parser.h"
#include "parser.h"
#define URLPART_ID FOURCC('U','P','A','T')
#define URLPART_URL 0x100
......
......@@ -30,7 +30,7 @@
#ifndef COREC_SYSTEM_H
#define COREC_SYSTEM_H
#include "node/node.h"
#include "corec/node/node.h"
#ifdef __cplusplus
extern "C" {
......
......@@ -27,8 +27,8 @@
*
****************************************************************************/
#include "system/ccsystem.h"
#include "parser/parser.h"
#include "ccsystem.h"
#include "corec/helpers/parser/parser.h"
#include <stdlib.h>
......
......@@ -27,8 +27,8 @@
*
****************************************************************************/
#include "system/ccsystem.h"
#include "parser/parser.h"
#include "ccsystem.h"
#include "corec/helpers/parser/parser.h"
#include <windows.h>
......
......@@ -27,7 +27,7 @@
*
****************************************************************************/
#include "corec.h"
#include "corec/corec.h"
#ifndef NDEBUG
......
#include "corec.h"
#include "corec/corec.h"
#include "pace.h"
extern int main(int,char**);
......
......@@ -27,7 +27,7 @@
*
****************************************************************************/
#include "corec.h"
#include "corec/corec.h"
double log(double a) { return 0; }
double pow(double a,double b) { return 0; }
......
......@@ -27,7 +27,7 @@
*
****************************************************************************/
#include "corec.h"
#include "corec/corec.h"
#if defined(TARGET_PALMOS) && defined(IX86)
......
......@@ -27,7 +27,7 @@
*
****************************************************************************/
#include "corec.h"
#include "corec/corec.h"
#if defined(TARGET_PALMOS)
......
......@@ -27,7 +27,7 @@
*
****************************************************************************/
#include "corec.h"
#include "corec/corec.h"
#if defined(TARGET_PALMOS)
......
......@@ -27,7 +27,7 @@
*
****************************************************************************/
#include "corec.h"
#include "corec/corec.h"
// cheap fake bubble sort :)))
......
......@@ -27,7 +27,7 @@
*
****************************************************************************/
#include "corec.h"
#include "corec/corec.h"
static unsigned int rndseed = 1;
......
......@@ -27,7 +27,7 @@
*
****************************************************************************/
#include "corec.h"
#include "corec/corec.h"
#define PI 3.14159265358979324
......
......@@ -27,7 +27,7 @@
*
****************************************************************************/
#include "corec.h"
#include "corec/corec.h"
char *strdup(const char *s)
{
......
......@@ -27,7 +27,7 @@
*
****************************************************************************/
#include "corec.h"
#include "corec/corec.h"
int vsprintf(tchar_t *s0, const tchar_t *fmt, va_list args)
{
......
......@@ -27,7 +27,7 @@
*
****************************************************************************/
#include "corec.h"
#include "corec/corec.h"
#ifndef NDEBUG
......
......@@ -30,7 +30,7 @@
#ifndef __MULTITHREAD_H
#define __MULTITHREAD_H
#include "corec.h"
#include "corec/corec.h"
#ifdef __cplusplus
extern "C" {
......
......@@ -30,16 +30,16 @@
#ifndef __NODE_H
#define __NODE_H
#include "corec.h"
#include "corec/corec.h"
#ifdef __cplusplus
extern "C" {
#endif
#include "array/array.h"
#include "multithread/multithread.h"
#include "str/str.h"
#include "memheap.h"
#include "corec/array/array.h"
#include "corec/multithread/multithread.h"
#include "corec/str/str.h"
#include "corec/memheap.h"
#if defined(NODE_EXPORTS)
#define NODE_DLL DLLEXPORT
......@@ -49,16 +49,16 @@ extern "C" {
#define NODE_DLL
#endif
#include "node/nodebase.h"
#include "node/nodetree.h"
#include "node/nodetools.h"
#include "nodebase.h"
#include "nodetree.h"
#include "nodetools.h"
#ifdef __cplusplus
}
#endif
#if defined(TARGET_SYMBIAN)
#include "node/node_symbian.h"
#include "node_symbian.h"
#endif
#endif /* __NODE_H */
......@@ -29,7 +29,7 @@
#include "str.h"
#if defined(COREC_PARSER)
#include "parser/parser.h"
#include "corec/helpers/parser/parser.h"
#endif
static INLINE int ascii_upper(int ch)
......
......@@ -30,7 +30,7 @@
#ifndef __STR_H
#define __STR_H
#include "corec.h"
#include "corec/corec.h"
#ifdef __cplusplus
extern "C" {
......
#include "file/file.h"
#include "corec/helpers/file/file.h"
int main(int argc,char** argv)
{
......
#include "node/node.h"
#include "corec/node/node.h"
int main(int argc,char** argv)
{
......
#include "str/str.h"
#include "corec/str/str.h"
#if defined(UNICODE)
#include "charconvert/charconvert.h"
#include "corec/helpers/charconvert/charconvert.h"
charconv *ToStr;
charconv *FromStr;
#endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment