Commit 5e75b1fb authored by Pierre d'Herbemont's avatar Pierre d'Herbemont

macosx/framework: Export -[VLCLibrary changeset].

parent 24338ffb
...@@ -67,4 +67,11 @@ ...@@ -67,4 +67,11 @@
@property (readonly) NSString * version; @property (readonly) NSString * version;
/**
* Returns the library's changeset
* \return The library version example "adfee99".
*/
@property (readonly) NSString * changeset;
@end @end
...@@ -94,6 +94,11 @@ void __catch_exception( void * e, const char * function, const char * file, int ...@@ -94,6 +94,11 @@ void __catch_exception( void * e, const char * function, const char * file, int
return [NSString stringWithUTF8String:libvlc_get_version()]; return [NSString stringWithUTF8String:libvlc_get_version()];
} }
- (NSString *)changeset
{
return [NSString stringWithUTF8String:libvlc_get_changeset()];
}
- (void)dealloc - (void)dealloc
{ {
if( instance ) if( instance )
......
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