mirror of
https://github.com/tuxbox-neutrino/libstb-hal.git
synced 2025-08-26 23:13:16 +02:00
libtriple: implement init_td_api and shutdown_td_api
provide compatibility with cs_api_init() and cs_api_exit() This contains a DirectFB wrapper, needed to make the framebuffer transparent. The framebuffer itself is usable without DFB. Additionally it sets up the system for a changed RC address in "BIOS". git-svn-id: http://www.coolstreamtech.de/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@961 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
17
libtriple/init_td.h
Normal file
17
libtriple/init_td.h
Normal file
@@ -0,0 +1,17 @@
|
||||
#ifndef __INIT_TD_H
|
||||
#define __INIT_TD_H
|
||||
void init_td_api();
|
||||
void shutdown_td_api();
|
||||
|
||||
inline void cs_api_init()
|
||||
{
|
||||
init_td_api();
|
||||
};
|
||||
|
||||
inline void cs_api_exit()
|
||||
{
|
||||
shutdown_td_api();
|
||||
};
|
||||
#define cs_malloc_uncached malloc
|
||||
#define cs_free_uncached free
|
||||
#endif
|
Reference in New Issue
Block a user