glsl: Clean up header file inclusion.
This commit is contained in:
parent
d75eac5db1
commit
71a6dea0f5
|
@ -30,6 +30,7 @@
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include "../pp/sl_pp_public.h"
|
#include "../pp/sl_pp_public.h"
|
||||||
|
#include "../pp/sl_pp_purify.h"
|
||||||
#include "../cl/sl_cl_parse.h"
|
#include "../cl/sl_cl_parse.h"
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -30,6 +30,8 @@
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include "../pp/sl_pp_public.h"
|
#include "../pp/sl_pp_public.h"
|
||||||
|
#include "../pp/sl_pp_purify.h"
|
||||||
|
#include "../pp/sl_pp_token.h"
|
||||||
|
|
||||||
|
|
||||||
int
|
int
|
||||||
|
|
|
@ -30,6 +30,7 @@
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include "../pp/sl_pp_public.h"
|
#include "../pp/sl_pp_public.h"
|
||||||
|
#include "../pp/sl_pp_purify.h"
|
||||||
|
|
||||||
|
|
||||||
int
|
int
|
||||||
|
|
|
@ -30,6 +30,8 @@
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include "../pp/sl_pp_public.h"
|
#include "../pp/sl_pp_public.h"
|
||||||
|
#include "../pp/sl_pp_purify.h"
|
||||||
|
#include "../pp/sl_pp_token.h"
|
||||||
|
|
||||||
|
|
||||||
int
|
int
|
||||||
|
|
|
@ -30,6 +30,7 @@
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include "../pp/sl_pp_public.h"
|
#include "../pp/sl_pp_public.h"
|
||||||
|
#include "../pp/sl_pp_purify.h"
|
||||||
|
|
||||||
|
|
||||||
int
|
int
|
||||||
|
|
|
@ -29,6 +29,7 @@
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include "../pp/sl_pp_public.h"
|
#include "../pp/sl_pp_public.h"
|
||||||
|
#include "../pp/sl_pp_token.h"
|
||||||
#include "sl_cl_parse.h"
|
#include "sl_cl_parse.h"
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -27,6 +27,7 @@
|
||||||
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
#include "sl_pp_macro.h"
|
||||||
#include "sl_pp_public.h"
|
#include "sl_pp_public.h"
|
||||||
#include "sl_pp_context.h"
|
#include "sl_pp_context.h"
|
||||||
|
|
||||||
|
|
|
@ -29,7 +29,6 @@
|
||||||
#define SL_PP_CONTEXT_H
|
#define SL_PP_CONTEXT_H
|
||||||
|
|
||||||
#include "sl_pp_dict.h"
|
#include "sl_pp_dict.h"
|
||||||
#include "sl_pp_macro.h"
|
|
||||||
#include "sl_pp_process.h"
|
#include "sl_pp_process.h"
|
||||||
#include "sl_pp_purify.h"
|
#include "sl_pp_purify.h"
|
||||||
#include "sl_pp_token_util.h"
|
#include "sl_pp_token_util.h"
|
||||||
|
|
|
@ -28,8 +28,10 @@
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include "sl_pp_context.h"
|
#include "sl_pp_context.h"
|
||||||
|
#include "sl_pp_macro.h"
|
||||||
#include "sl_pp_process.h"
|
#include "sl_pp_process.h"
|
||||||
#include "sl_pp_public.h"
|
#include "sl_pp_public.h"
|
||||||
|
#include "sl_pp_token.h"
|
||||||
|
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
|
|
@ -30,6 +30,7 @@
|
||||||
#include "sl_pp_context.h"
|
#include "sl_pp_context.h"
|
||||||
#include "sl_pp_process.h"
|
#include "sl_pp_process.h"
|
||||||
#include "sl_pp_public.h"
|
#include "sl_pp_public.h"
|
||||||
|
#include "sl_pp_token.h"
|
||||||
|
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|
|
@ -27,8 +27,10 @@
|
||||||
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
#include "sl_pp_context.h"
|
||||||
#include "sl_pp_expression.h"
|
#include "sl_pp_expression.h"
|
||||||
#include "sl_pp_public.h"
|
#include "sl_pp_public.h"
|
||||||
|
#include "sl_pp_token.h"
|
||||||
|
|
||||||
|
|
||||||
struct parse_context {
|
struct parse_context {
|
||||||
|
|
|
@ -28,8 +28,8 @@
|
||||||
#ifndef SL_PP_EXPRESSION_H
|
#ifndef SL_PP_EXPRESSION_H
|
||||||
#define SL_PP_EXPRESSION_H
|
#define SL_PP_EXPRESSION_H
|
||||||
|
|
||||||
#include "sl_pp_context.h"
|
struct sl_pp_context;
|
||||||
#include "sl_pp_token.h"
|
struct sl_pp_token_info;
|
||||||
|
|
||||||
|
|
||||||
int
|
int
|
||||||
|
|
|
@ -25,11 +25,13 @@
|
||||||
*
|
*
|
||||||
**************************************************************************/
|
**************************************************************************/
|
||||||
|
|
||||||
|
#include <assert.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include "sl_pp_context.h"
|
#include "sl_pp_context.h"
|
||||||
#include "sl_pp_process.h"
|
#include "sl_pp_process.h"
|
||||||
#include "sl_pp_public.h"
|
#include "sl_pp_public.h"
|
||||||
|
#include "sl_pp_token.h"
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -27,8 +27,11 @@
|
||||||
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
#include "sl_pp_context.h"
|
||||||
#include "sl_pp_expression.h"
|
#include "sl_pp_expression.h"
|
||||||
|
#include "sl_pp_macro.h"
|
||||||
#include "sl_pp_process.h"
|
#include "sl_pp_process.h"
|
||||||
|
#include "sl_pp_token.h"
|
||||||
|
|
||||||
|
|
||||||
static int
|
static int
|
||||||
|
|
|
@ -28,8 +28,10 @@
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include "sl_pp_context.h"
|
#include "sl_pp_context.h"
|
||||||
|
#include "sl_pp_macro.h"
|
||||||
#include "sl_pp_public.h"
|
#include "sl_pp_public.h"
|
||||||
#include "sl_pp_process.h"
|
#include "sl_pp_process.h"
|
||||||
|
#include "sl_pp_token.h"
|
||||||
|
|
||||||
|
|
||||||
int
|
int
|
||||||
|
|
|
@ -32,6 +32,7 @@
|
||||||
#include "sl_pp_public.h"
|
#include "sl_pp_public.h"
|
||||||
#include "sl_pp_macro.h"
|
#include "sl_pp_macro.h"
|
||||||
#include "sl_pp_process.h"
|
#include "sl_pp_process.h"
|
||||||
|
#include "sl_pp_token.h"
|
||||||
|
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
|
|
@ -28,9 +28,6 @@
|
||||||
#ifndef SL_PP_MACRO_H
|
#ifndef SL_PP_MACRO_H
|
||||||
#define SL_PP_MACRO_H
|
#define SL_PP_MACRO_H
|
||||||
|
|
||||||
#include "sl_pp_token.h"
|
|
||||||
|
|
||||||
|
|
||||||
struct sl_pp_context;
|
struct sl_pp_context;
|
||||||
struct sl_pp_process_state;
|
struct sl_pp_process_state;
|
||||||
struct sl_pp_token_buffer;
|
struct sl_pp_token_buffer;
|
||||||
|
|
|
@ -29,6 +29,7 @@
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include "sl_pp_context.h"
|
#include "sl_pp_context.h"
|
||||||
#include "sl_pp_process.h"
|
#include "sl_pp_process.h"
|
||||||
|
#include "sl_pp_token.h"
|
||||||
|
|
||||||
|
|
||||||
int
|
int
|
||||||
|
|
|
@ -25,11 +25,14 @@
|
||||||
*
|
*
|
||||||
**************************************************************************/
|
**************************************************************************/
|
||||||
|
|
||||||
|
#include <assert.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include "sl_pp_context.h"
|
#include "sl_pp_context.h"
|
||||||
|
#include "sl_pp_macro.h"
|
||||||
#include "sl_pp_process.h"
|
#include "sl_pp_process.h"
|
||||||
#include "sl_pp_public.h"
|
#include "sl_pp_public.h"
|
||||||
|
#include "sl_pp_token.h"
|
||||||
|
|
||||||
|
|
||||||
int
|
int
|
||||||
|
|
|
@ -28,11 +28,8 @@
|
||||||
#ifndef SL_PP_PROCESS_H
|
#ifndef SL_PP_PROCESS_H
|
||||||
#define SL_PP_PROCESS_H
|
#define SL_PP_PROCESS_H
|
||||||
|
|
||||||
#include "sl_pp_macro.h"
|
|
||||||
#include "sl_pp_token.h"
|
|
||||||
|
|
||||||
|
|
||||||
struct sl_pp_context;
|
struct sl_pp_context;
|
||||||
|
struct sl_pp_token_buffer;
|
||||||
|
|
||||||
struct sl_pp_process_state {
|
struct sl_pp_process_state {
|
||||||
struct sl_pp_token_info *out;
|
struct sl_pp_token_info *out;
|
||||||
|
|
|
@ -28,13 +28,9 @@
|
||||||
#ifndef SL_PP_PUBLIC_H
|
#ifndef SL_PP_PUBLIC_H
|
||||||
#define SL_PP_PUBLIC_H
|
#define SL_PP_PUBLIC_H
|
||||||
|
|
||||||
|
|
||||||
struct sl_pp_context;
|
struct sl_pp_context;
|
||||||
|
struct sl_pp_purify_options;
|
||||||
|
struct sl_pp_token_info;
|
||||||
#include "sl_pp_purify.h"
|
|
||||||
#include "sl_pp_token.h"
|
|
||||||
|
|
||||||
|
|
||||||
struct sl_pp_context *
|
struct sl_pp_context *
|
||||||
sl_pp_context_create(const char *input,
|
sl_pp_context_create(const char *input,
|
||||||
|
|
|
@ -28,6 +28,7 @@
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include "sl_pp_token_util.h"
|
#include "sl_pp_token_util.h"
|
||||||
|
#include "sl_pp_token.h"
|
||||||
|
|
||||||
|
|
||||||
int
|
int
|
||||||
|
|
|
@ -28,11 +28,6 @@
|
||||||
#ifndef SL_PP_TOKEN_UTIL_H
|
#ifndef SL_PP_TOKEN_UTIL_H
|
||||||
#define SL_PP_TOKEN_UTIL_H
|
#define SL_PP_TOKEN_UTIL_H
|
||||||
|
|
||||||
#include <assert.h>
|
|
||||||
#include <stdlib.h>
|
|
||||||
#include "sl_pp_token.h"
|
|
||||||
|
|
||||||
|
|
||||||
struct sl_pp_context;
|
struct sl_pp_context;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
|
@ -29,6 +29,7 @@
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include "sl_pp_public.h"
|
#include "sl_pp_public.h"
|
||||||
#include "sl_pp_context.h"
|
#include "sl_pp_context.h"
|
||||||
|
#include "sl_pp_token.h"
|
||||||
|
|
||||||
|
|
||||||
int
|
int
|
||||||
|
|
Loading…
Reference in New Issue