Commit 234df972 authored by Martin Finkel's avatar Martin Finkel
Browse files

Core: Update API to be more C-like

works with latest libvlcsharp unity build
parent 07892f14
......@@ -42,7 +42,7 @@ extern "C" void UNITY_INTERFACE_EXPORT UNITY_INTERFACE_API Print(char* toPrint)
}
extern "C" libvlc_media_player_t* UNITY_INTERFACE_EXPORT UNITY_INTERFACE_API
CreateAndInitMediaPlayer(libvlc_instance_t* libvlc)
libvlc_unity_media_player_new(libvlc_instance_t* libvlc)
{
if(libvlc == NULL)
{
......@@ -105,7 +105,7 @@ err:
}
extern "C" void* UNITY_INTERFACE_EXPORT UNITY_INTERFACE_API
getTexture(libvlc_media_player_t* mp, bool * updated)
libvlc_unity_get_texture(libvlc_media_player_t* mp, bool * updated)
{
if(mp == NULL)
return NULL;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment