The GNUstep gui library is a library of graphical user interface classes written completely in the Objective-C language; the classes are based upon Apple's Cocoa framework (which came from the OpenStep specification). *** Larger patches require copyright assignment to FSF. please file bugs here. ***
DPSOperators.h exports various inline functions which access the methods variable of the NSGraphicsContext class. This will result in accessing instance variables across module boundaries if these functions are used in external libraries.
Accessing instance variables across module boundaries is not supported when building on Windows using the Visual Studio toolchain.
This patch adds a methods function on NSGraphicsContext which returns the variable, and reworks the inline functions to use the methods function instead of directly accessing the variable.
DPSOperators.h
exports various inline functions which access themethods
variable of theNSGraphicsContext
class. This will result in accessing instance variables across module boundaries if these functions are used in external libraries.Accessing instance variables across module boundaries is not supported when building on Windows using the Visual Studio toolchain.
This patch adds a
methods
function onNSGraphicsContext
which returns the variable, and reworks the inline functions to use themethods
function instead of directly accessing the variable.Re-submit of !177