xos_loadsos.h.svn-base

来自「brew头文件分析」· SVN-BASE 代码 · 共 62 行

SVN-BASE
62
字号
//**************************************************************
//Copyright (C), 2008-2008, AnyLook Co., Ltd.
//File name:    xOS_Loadsos.h
//Author:       AnyLook
//Version:      1.0
//Date:         2008/07/31
//Description:
//    xOS Include file
//Others: 
//Function List: 
//<Name>        <desc>
//Simple        
//History: 
//<author>      <time>      <version >  <desc>
// AnyLook    2008/07/31       1.0       build this moudle 
//**************************************************************


#ifndef _xOS_LOADSOS_H
#define _xOS_LOADSOS_H


#ifdef __cplusplus
extern "C" {
#endif


#include "xOS_Loadsos_VTBL.h"


static INLINE void *LoadObject(const char *sofile)
{
    if (GETLOADSO(g_pxOSList))
    {
		return GETLOADSO(g_pxOSList)->LoadObject(sofile);
    }
    return NULL;
}
static INLINE void *LoadFunction(void *handle, const char *name)
{
	if (GETLOADSO(g_pxOSList))
    {
		return GETLOADSO(g_pxOSList)->LoadFunction(handle,name);
    }
    return NULL;
}
static INLINE void  UnloadObject(void *handle)
{
	if (GETLOADSO(g_pxOSList))
    {
		  GETLOADSO(g_pxOSList)->UnloadObject(handle);
    }
}


#ifdef __cplusplus
}
#endif

#endif //_xBIOS_LOADSOS_H

⌨️ 快捷键说明

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