uncomment //extern "C" {

This commit is contained in:
lexborisov 2016-08-29 01:28:21 +04:00
parent 5afb4ca9b7
commit 6677c0fd78
15 changed files with 50 additions and 13 deletions

View File

@ -62,7 +62,7 @@ clean:
clean_include:
rm -rf $(INCLUDE_TMP)
clone: clean_include MODEST_clone mycss_clone modest_clone
clone: clean_include myhtml_clone mycss_clone modest_clone
find include -name "*.h" -exec sed -i '.bak' -E 's/^[ \t]*#[ \t]*include[ \t]*"([^"]+)"/#include <\1>/g' {} \;
find include -name "*.h.bak" -exec rm -f {} \;

View File

@ -0,0 +1,37 @@
{
"DVTSourceControlWorkspaceBlueprintPrimaryRemoteRepositoryKey" : "E1B815F910EED905C51790F9FFDAA87F3BBEDB13",
"DVTSourceControlWorkspaceBlueprintWorkingCopyRepositoryLocationsKey" : {
},
"DVTSourceControlWorkspaceBlueprintWorkingCopyStatesKey" : {
"98733C220E4E0BC91F352AF8F6264AF568DFB45B" : 0,
"B060867C3997F583FF228863A439187BDC805025" : 0,
"E1B815F910EED905C51790F9FFDAA87F3BBEDB13" : 0
},
"DVTSourceControlWorkspaceBlueprintIdentifierKey" : "C97D5FDA-7351-45CC-9BB8-26024AE01A22",
"DVTSourceControlWorkspaceBlueprintWorkingCopyPathsKey" : {
"98733C220E4E0BC91F352AF8F6264AF568DFB45B" : "mycss\/",
"B060867C3997F583FF228863A439187BDC805025" : "myhtml\/",
"E1B815F910EED905C51790F9FFDAA87F3BBEDB13" : "Modest\/"
},
"DVTSourceControlWorkspaceBlueprintNameKey" : "Modest",
"DVTSourceControlWorkspaceBlueprintVersion" : 204,
"DVTSourceControlWorkspaceBlueprintRelativePathToProjectKey" : "devel\/osx\/Modest.xcodeproj",
"DVTSourceControlWorkspaceBlueprintRemoteRepositoriesKey" : [
{
"DVTSourceControlWorkspaceBlueprintRemoteRepositoryURLKey" : "https:\/\/github.com\/lexborisov\/mycss.git",
"DVTSourceControlWorkspaceBlueprintRemoteRepositorySystemKey" : "com.apple.dt.Xcode.sourcecontrol.Git",
"DVTSourceControlWorkspaceBlueprintRemoteRepositoryIdentifierKey" : "98733C220E4E0BC91F352AF8F6264AF568DFB45B"
},
{
"DVTSourceControlWorkspaceBlueprintRemoteRepositoryURLKey" : "https:\/\/github.com\/lexborisov\/myhtml.git",
"DVTSourceControlWorkspaceBlueprintRemoteRepositorySystemKey" : "com.apple.dt.Xcode.sourcecontrol.Git",
"DVTSourceControlWorkspaceBlueprintRemoteRepositoryIdentifierKey" : "B060867C3997F583FF228863A439187BDC805025"
},
{
"DVTSourceControlWorkspaceBlueprintRemoteRepositoryURLKey" : "https:\/\/github.com\/lexborisov\/Modest.git",
"DVTSourceControlWorkspaceBlueprintRemoteRepositorySystemKey" : "com.apple.dt.Xcode.sourcecontrol.Git",
"DVTSourceControlWorkspaceBlueprintRemoteRepositoryIdentifierKey" : "E1B815F910EED905C51790F9FFDAA87F3BBEDB13"
}
]
}

View File

@ -28,7 +28,7 @@
#include <mycss/selectors/list.h>
#ifdef __cplusplus
//extern "C" {
extern "C" {
#endif
typedef bool (*modest_finder_selector_type_f)(modest_finder_t* finder, myhtml_tree_node_t* node, mycss_selectors_entry_t* selector);

View File

@ -26,7 +26,7 @@
#include <myhtml/tree.h>
#ifdef __cplusplus
//extern "C" {
extern "C" {
#endif
bool modest_finder_match_attribute_only_key(myhtml_token_attr_t* attr, const char* key, size_t key_len);

View File

@ -27,7 +27,7 @@
#include <mycss/myosi.h>
#ifdef __cplusplus
//extern "C" {
extern "C" {
#endif
struct modest_finder typedef modest_finder_t;

View File

@ -28,7 +28,7 @@
#include <modest/finder/finder.h>
#ifdef __cplusplus
//extern "C" {
extern "C" {
#endif
bool modest_finder_selector_sub_type_pseudo_class_function_undef(modest_finder_t* finder, myhtml_tree_node_t* node, mycss_selectors_entry_t* selector);

View File

@ -33,7 +33,7 @@
#include <mycss/selectors/value.h>
#ifdef __cplusplus
//extern "C" {
extern "C" {
#endif
bool modest_finder_selector_type_undef(modest_finder_t* finder, myhtml_tree_node_t* node, mycss_selectors_entry_t* selector);

View File

@ -23,7 +23,7 @@
#pragma once
#ifdef __cplusplus
//extern "C" {
extern "C" {
#endif
// base

View File

@ -28,7 +28,7 @@
#include "mycss/selectors/list.h"
#ifdef __cplusplus
//extern "C" {
extern "C" {
#endif
typedef bool (*modest_finder_selector_type_f)(modest_finder_t* finder, myhtml_tree_node_t* node, mycss_selectors_entry_t* selector);

View File

@ -26,7 +26,7 @@
#include "myhtml/tree.h"
#ifdef __cplusplus
//extern "C" {
extern "C" {
#endif
bool modest_finder_match_attribute_only_key(myhtml_token_attr_t* attr, const char* key, size_t key_len);

View File

@ -27,7 +27,7 @@
#include "mycss/myosi.h"
#ifdef __cplusplus
//extern "C" {
extern "C" {
#endif
struct modest_finder typedef modest_finder_t;

View File

@ -28,7 +28,7 @@
#include "modest/finder/finder.h"
#ifdef __cplusplus
//extern "C" {
extern "C" {
#endif
bool modest_finder_selector_sub_type_pseudo_class_function_undef(modest_finder_t* finder, myhtml_tree_node_t* node, mycss_selectors_entry_t* selector);

View File

@ -33,7 +33,7 @@
#include "mycss/selectors/value.h"
#ifdef __cplusplus
//extern "C" {
extern "C" {
#endif
bool modest_finder_selector_type_undef(modest_finder_t* finder, myhtml_tree_node_t* node, mycss_selectors_entry_t* selector);

View File

@ -23,7 +23,7 @@
#pragma once
#ifdef __cplusplus
//extern "C" {
extern "C" {
#endif
// base