vm_shared_object.h

来自「audio-video-codecs.rar语音编解码器」· C头文件 代码 · 共 37 行

H
37
字号
/*
//
//                  INTEL CORPORATION PROPRIETARY INFORMATION
//     This software is supplied under the terms of a license agreement or
//     nondisclosure agreement with Intel Corporation and may not be copied
//     or disclosed except in accordance with the terms of that agreement.
//       Copyright(c) 2003-2006 Intel Corporation. All Rights Reserved.
//
*/

#ifndef __VM_SHARED_OBJECT_H__
#define __VM_SHARED_OBJECT_H__

#include "vm_types.h"
#include "vm_strings.h"

typedef void* vm_so_handle;
typedef void (*vm_so_func)(void);

#ifdef __cplusplus
extern "C" {
#endif // __cplusplus

vm_so_handle vm_so_load(vm_char* so_file_name);
vm_so_func   vm_so_get_addr(vm_so_handle so_handle, vm_char* so_func_name);
void         vm_so_free(vm_so_handle so_handle);

#ifdef __cplusplus
}
#endif // __cplusplus

#ifndef NULL
#define NULL (void*)0L
#endif

#endif // __VM_SHARED_OBJECT_H__

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?