Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Dlang
gtkd
Commits
21f3f1e9
Commit
21f3f1e9
authored
May 26, 2017
by
Mike Wey
Browse files
Don't add deprecation warnings in a bugfix release.
parent
21630120
Changes
4
Hide whitespace changes
Inline
Side-by-side
CHANGELOG
View file @
21f3f1e9
GtkD ChangeLog
==============
Release: 3.6.4
--------------
-Don't add deprecation warnings in a bugfix release.
Release: 3.6.3
--------------
-Fix the destroyNotify error when destroying an object with unref.
...
...
GNUmakefile
View file @
21f3f1e9
...
...
@@ -59,7 +59,7 @@ RANLIB=ranlib
#######################################################################
GTKD_VERSION
=
3.6.
3
GTKD_VERSION
=
3.6.
4
SO_VERSION
=
0
MAJOR
=
$(
word
1,
$(
subst
., ,
$(GTKD_VERSION)
))
...
...
generated/gtkd/gtkd/Loader.d
View file @
21f3f1e9
...
...
@@ -41,7 +41,7 @@ public struct Linker
* symbol = The name of the symbol to link
* libraries = One or more libraries to search for the symbol
*/
deprecated
(
"Use the LIBRARY_* symbols defined for each package, instead of gtkd.paths.LIBRARY"
)
//
deprecated("Use the LIBRARY_* symbols defined for each package, instead of gtkd.paths.LIBRARY")
public
static
void
link
(
T
)(
ref
T
funct
,
string
symbol
,
LIBRARY
[]
libraries
...)
{
funct
=
cast
(
T
)
getSymbol
(
symbol
,
libraries
);
...
...
@@ -65,7 +65,7 @@ public struct Linker
* symbol = The name of the symbol to link
* libraries = One or more libraries to search for the symbol
*/
deprecated
(
"Use the LIBRARY_* symbols defined for each package, instead of gtkd.paths.LIBRARY"
)
//
deprecated("Use the LIBRARY_* symbols defined for each package, instead of gtkd.paths.LIBRARY")
public
static
void
*
getSymbol
(
string
symbol
,
LIBRARY
[]
libraries
...)
{
string
[]
libStr
=
new
string
[
libraries
.
length
];
...
...
@@ -130,7 +130,7 @@ public struct Linker
/*
* Unload a library
*/
deprecated
(
"Use the LIBRARY_* symbols defined for each package, instead of gtkd.paths.LIBRARY"
)
//
deprecated("Use the LIBRARY_* symbols defined for each package, instead of gtkd.paths.LIBRARY")
public
static
void
unloadLibrary
(
LIBRARY
library
)
{
unloadLibrary
(
importLibs
[
library
]
);
...
...
@@ -188,7 +188,7 @@ public struct Linker
* Checks if a library is loaded.
* Returns: true is the library was loaded sucsessfully.
*/
deprecated
(
"Use the LIBRARY_* symbols defined for each package, instead of gtkd.paths.LIBRARY"
)
//
deprecated("Use the LIBRARY_* symbols defined for each package, instead of gtkd.paths.LIBRARY")
public
static
bool
isLoaded
(
LIBRARY
library
)
{
return
isLoaded
(
importLibs
[
library
]);
...
...
@@ -217,7 +217,7 @@ public struct Linker
* returns: An array of the names hat failed to load for a specific library
* or null if none was found
*/
deprecated
(
"Use the LIBRARY_* symbols defined for each package, instead of gtkd.paths.LIBRARY"
)
//
deprecated("Use the LIBRARY_* symbols defined for each package, instead of gtkd.paths.LIBRARY")
public
static
string
[]
getLoadFailures
(
LIBRARY
library
)
{
return
getLoadFailures
(
importLibs
[
library
]);
...
...
src/gtkd/Loader.d
View file @
21f3f1e9
...
...
@@ -41,7 +41,7 @@ public struct Linker
* symbol = The name of the symbol to link
* libraries = One or more libraries to search for the symbol
*/
deprecated
(
"Use the LIBRARY_* symbols defined for each package, instead of gtkd.paths.LIBRARY"
)
//
deprecated("Use the LIBRARY_* symbols defined for each package, instead of gtkd.paths.LIBRARY")
public
static
void
link
(
T
)(
ref
T
funct
,
string
symbol
,
LIBRARY
[]
libraries
...)
{
funct
=
cast
(
T
)
getSymbol
(
symbol
,
libraries
);
...
...
@@ -65,7 +65,7 @@ public struct Linker
* symbol = The name of the symbol to link
* libraries = One or more libraries to search for the symbol
*/
deprecated
(
"Use the LIBRARY_* symbols defined for each package, instead of gtkd.paths.LIBRARY"
)
//
deprecated("Use the LIBRARY_* symbols defined for each package, instead of gtkd.paths.LIBRARY")
public
static
void
*
getSymbol
(
string
symbol
,
LIBRARY
[]
libraries
...)
{
string
[]
libStr
=
new
string
[
libraries
.
length
];
...
...
@@ -130,7 +130,7 @@ public struct Linker
/*
* Unload a library
*/
deprecated
(
"Use the LIBRARY_* symbols defined for each package, instead of gtkd.paths.LIBRARY"
)
//
deprecated("Use the LIBRARY_* symbols defined for each package, instead of gtkd.paths.LIBRARY")
public
static
void
unloadLibrary
(
LIBRARY
library
)
{
unloadLibrary
(
importLibs
[
library
]
);
...
...
@@ -188,7 +188,7 @@ public struct Linker
* Checks if a library is loaded.
* Returns: true is the library was loaded sucsessfully.
*/
deprecated
(
"Use the LIBRARY_* symbols defined for each package, instead of gtkd.paths.LIBRARY"
)
//
deprecated("Use the LIBRARY_* symbols defined for each package, instead of gtkd.paths.LIBRARY")
public
static
bool
isLoaded
(
LIBRARY
library
)
{
return
isLoaded
(
importLibs
[
library
]);
...
...
@@ -217,7 +217,7 @@ public struct Linker
* returns: An array of the names hat failed to load for a specific library
* or null if none was found
*/
deprecated
(
"Use the LIBRARY_* symbols defined for each package, instead of gtkd.paths.LIBRARY"
)
//
deprecated("Use the LIBRARY_* symbols defined for each package, instead of gtkd.paths.LIBRARY")
public
static
string
[]
getLoadFailures
(
LIBRARY
library
)
{
return
getLoadFailures
(
importLibs
[
library
]);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment