未验证 提交 ca653f9e 编写于 作者: O openharmony_ci 提交者: Gitee

!672 【IPC&RPC】修改extern “c”块中包含的.h文件

Merge pull request !672 from chenchong_666/master
......@@ -16,12 +16,12 @@
#ifndef IPC_C_ASHMEM_H
#define IPC_C_ASHMEM_H
#include <stdint.h>
#ifdef __cplusplus
extern "C" {
#endif
#include <stdint.h>
struct CAshmem;
typedef struct CAshmem CAshmem;
......
......@@ -16,17 +16,15 @@
#ifndef IPC_C_PARCEL_H
#define IPC_C_PARCEL_H
#include "c_ashmem.h"
#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>
#include "c_ashmem.h"
#ifdef __cplusplus
extern "C" {
#endif
#include <stdbool.h>
#include <stdint.h>
struct MessageParcelHolder;
typedef struct MessageParcelHolder CParcel;
......
......@@ -16,11 +16,10 @@
#ifndef IPC_C_PARCEL_INTERANL_H
#define IPC_C_PARCEL_INTERANL_H
#include "c_parcel.h"
#include "c_ashmem_internal.h"
#include <refbase.h>
#include "message_parcel.h"
#include "c_ashmem_internal.h"
#include "c_parcel.h"
struct MessageParcelHolder : public virtual OHOS::RefBase {
explicit MessageParcelHolder(OHOS::MessageParcel *parcel = nullptr);
......
......@@ -16,15 +16,14 @@
#ifndef IPC_C_PROCESS_H
#define IPC_C_PROCESS_H
#include <stdint.h>
#include "c_parcel.h"
#include "c_remote_object.h"
#ifdef __cplusplus
extern "C" {
#endif
#include <stdint.h>
#include "c_remote_object.h"
CRemoteObject *GetContextManager(void);
void JoinWorkThread(void);
void StopWorkThread(void);
......
......@@ -16,14 +16,13 @@
#ifndef IPC_C_REMOTE_OBJECT_H
#define IPC_C_REMOTE_OBJECT_H
#include <stdint.h>
#include "c_parcel.h"
#ifdef __cplusplus
extern "C" {
#endif
#include <stdint.h>
#include "c_parcel.h"
struct CRemoteObjectHolder;
typedef struct CRemoteObjectHolder CRemoteObject;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册