12671
|
1 |
"
|
|
2 |
COPYRIGHT (c) 2009 by eXept Software AG
|
|
3 |
All Rights Reserved
|
|
4 |
|
|
5 |
This software is furnished under a license and may be used
|
|
6 |
only in accordance with the terms of that license and with the
|
|
7 |
inclusion of the above copyright notice. This software may not
|
|
8 |
be provided or otherwise made available to, or used by, any
|
|
9 |
other person. No title to or ownership of the software is
|
|
10 |
hereby transferred.
|
|
11 |
"
|
12440
|
12 |
"{ Package: 'stx:libbasic' }"
|
|
13 |
|
17453
|
14 |
"{ NameSpace: Smalltalk }"
|
|
15 |
|
12440
|
16 |
Object subclass:#ExternalLibrary
|
|
17 |
instanceVariableNames:''
|
|
18 |
classVariableNames:''
|
|
19 |
poolDictionaries:''
|
|
20 |
category:'System-Support'
|
|
21 |
!
|
|
22 |
|
17453
|
23 |
ExternalLibrary class instanceVariableNames:'default'
|
|
24 |
|
|
25 |
"
|
|
26 |
No other class instance variables are inherited by this class.
|
|
27 |
"
|
|
28 |
!
|
|
29 |
|
12440
|
30 |
!ExternalLibrary class methodsFor:'documentation'!
|
|
31 |
|
12671
|
32 |
copyright
|
|
33 |
"
|
|
34 |
COPYRIGHT (c) 2009 by eXept Software AG
|
|
35 |
All Rights Reserved
|
|
36 |
|
|
37 |
This software is furnished under a license and may be used
|
|
38 |
only in accordance with the terms of that license and with the
|
|
39 |
inclusion of the above copyright notice. This software may not
|
|
40 |
be provided or otherwise made available to, or used by, any
|
|
41 |
other person. No title to or ownership of the software is
|
|
42 |
hereby transferred.
|
|
43 |
"
|
|
44 |
!
|
|
45 |
|
12440
|
46 |
documentation
|
|
47 |
"
|
|
48 |
This is only a hook for compatibility (to be able to fileIn squeak libraries)
|
|
49 |
"
|
|
50 |
! !
|
|
51 |
|
13335
|
52 |
!ExternalLibrary methodsFor:'error reporting'!
|
|
53 |
|
|
54 |
externalCallFailed
|
|
55 |
"{ Pragma: +optSpace }"
|
|
56 |
|
|
57 |
"report an error that some external libraray call failed.
|
|
58 |
The error is reported by raising the PrimitiveFailure exception."
|
|
59 |
|
|
60 |
<resource: #skipInDebuggersWalkBack>
|
|
61 |
|
|
62 |
|sender|
|
|
63 |
|
|
64 |
sender := thisContext sender.
|
|
65 |
|
|
66 |
^ PrimitiveFailure raiseRequestWith:(Message selector:sender selector arguments:sender args)
|
|
67 |
in:sender.
|
|
68 |
! !
|
|
69 |
|
12440
|
70 |
!ExternalLibrary class methodsFor:'documentation'!
|
|
71 |
|
|
72 |
version_CVS
|
17453
|
73 |
^ '$Header: /cvs/stx/stx/libbasic/ExternalLibrary.st,v 1.4 2015-02-09 09:43:30 cg Exp $'
|
12440
|
74 |
! !
|
17453
|
75 |
|