elementary: fix definition of external symbols

Introduced by elm_code. Broke the build (link) Mac OS X.
This commit is contained in:
Jean Guyomarc'h 2016-06-06 19:30:07 +02:00
parent 1a0928eb14
commit 129e56b64b
3 changed files with 6 additions and 3 deletions

View File

@ -6,6 +6,9 @@
#include "elm_code_private.h"
EAPI Elm_Code_Parser *ELM_CODE_PARSER_STANDARD_DIFF = NULL;
EAPI Elm_Code_Parser *ELM_CODE_PARSER_STANDARD_TODO = NULL;
struct _Elm_Code_Parser
{
void (*parse_line)(Elm_Code_Line *, void *);

View File

@ -12,8 +12,8 @@ extern "C" {
typedef struct _Elm_Code_Parser Elm_Code_Parser;
EAPI Elm_Code_Parser *ELM_CODE_PARSER_STANDARD_DIFF; /**< A provided parser that will mark up diff text */
EAPI Elm_Code_Parser *ELM_CODE_PARSER_STANDARD_TODO; /**< A provided parser that will highlight TODO and FIXME lines */
extern EAPI Elm_Code_Parser *ELM_CODE_PARSER_STANDARD_DIFF; /**< A provided parser that will mark up diff text */
extern EAPI Elm_Code_Parser *ELM_CODE_PARSER_STANDARD_TODO; /**< A provided parser that will highlight TODO and FIXME lines */
/**
* @brief Parser helper functions.

View File

@ -1,7 +1,7 @@
#ifndef ELM_CODE_PRIVATE_H
# define ELM_CODE_PRIVATE_H
int _elm_code_lib_log_dom;
extern int _elm_code_lib_log_dom;
#ifdef ERR
# undef ERR