WindowsDesktop.st
author Jan Vrany <jan.vrany@fit.cvut.cz>
Tue, 15 Sep 2015 05:30:02 +0100
branchjv
changeset 18755 bd0a60878974
parent 18011 deb0c3355881
child 23107 40173e082cbc
permissions -rw-r--r--
FFI: Make FFI call return nil when C function returns NULL Before when a C function returned NULL pointer, an ExternalAddress with address 0 wes returned which required an extra check in a caller to convert it to nil, which would be the customary. This commit automatically converts NULL pointers to Smalltalk `nil` as a courtesy to a Smalltalker.

"
 COPYRIGHT (c) 2006 by eXept Software AG
              All Rights Reserved

 This software is furnished under a license and may be used
 only in accordance with the terms of that license and with the
 inclusion of the above copyright notice.   This software may not
 be provided or otherwise made available to, or used by, any
 other person.  No title to or ownership of the software is
 hereby transferred.
"
"{ Package: 'stx:libbasic' }"

AbstractDesktop subclass:#WindowsDesktop
	instanceVariableNames:''
	classVariableNames:''
	poolDictionaries:''
	category:'System-Desktop'
!

!WindowsDesktop class methodsFor:'documentation'!

copyright
"
 COPYRIGHT (c) 2006 by eXept Software AG
              All Rights Reserved

 This software is furnished under a license and may be used
 only in accordance with the terms of that license and with the
 inclusion of the above copyright notice.   This software may not
 be provided or otherwise made available to, or used by, any
 other person.  No title to or ownership of the software is
 hereby transferred.
"
! !

!WindowsDesktop class methodsFor:'accessing'!

priority

    ^1

    "Modified: / 11-08-2009 / 16:40:14 / Jan Vrany <vranyj1@fel.cvut.cz>"
! !

!WindowsDesktop class methodsFor:'testing'!

isAvailable

    ^OperatingSystem isMSWINDOWSlike

    "Modified: / 11-08-2009 / 16:40:43 / Jan Vrany <vranyj1@fel.cvut.cz>"
! !

!WindowsDesktop class methodsFor:'documentation'!

version_CVS
    ^ '$Header: /cvs/stx/stx/libbasic/WindowsDesktop.st,v 1.1 2011-06-28 10:09:58 vrany Exp $'
!

version_SVN
    ^ ' Id: WindowsDesktop.st 10524 2010-05-20 13:35:23Z vranyj1  '
! !