mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
dl: add comments for the dl/example
This commit is contained in:
@ -5,6 +5,8 @@ pub const (
|
||||
dl_ext = get_shared_library_extension()
|
||||
)
|
||||
|
||||
// get_shared_library_extension returns the platform dependent shared library extension
|
||||
// i.e. .dll on windows, .so on most unixes, .dylib on macos.
|
||||
pub fn get_shared_library_extension() string {
|
||||
mut res := '.so'
|
||||
$if macos {
|
||||
|
Reference in New Issue
Block a user