22804
|
1 |
"{ Encoding: utf8 }"
|
|
2 |
|
12671
|
3 |
"
|
|
4 |
COPYRIGHT (c) 2009 by eXept Software AG
|
|
5 |
All Rights Reserved
|
|
6 |
|
|
7 |
This software is furnished under a license and may be used
|
|
8 |
only in accordance with the terms of that license and with the
|
|
9 |
inclusion of the above copyright notice. This software may not
|
|
10 |
be provided or otherwise made available to, or used by, any
|
|
11 |
other person. No title to or ownership of the software is
|
|
12 |
hereby transferred.
|
|
13 |
"
|
12440
|
14 |
"{ Package: 'stx:libbasic' }"
|
|
15 |
|
17453
|
16 |
"{ NameSpace: Smalltalk }"
|
|
17 |
|
12440
|
18 |
Object subclass:#ExternalLibrary
|
|
19 |
instanceVariableNames:''
|
|
20 |
classVariableNames:''
|
|
21 |
poolDictionaries:''
|
|
22 |
category:'System-Support'
|
|
23 |
!
|
|
24 |
|
17453
|
25 |
ExternalLibrary class instanceVariableNames:'default'
|
|
26 |
|
|
27 |
"
|
|
28 |
No other class instance variables are inherited by this class.
|
|
29 |
"
|
|
30 |
!
|
|
31 |
|
12440
|
32 |
!ExternalLibrary class methodsFor:'documentation'!
|
|
33 |
|
12671
|
34 |
copyright
|
|
35 |
"
|
|
36 |
COPYRIGHT (c) 2009 by eXept Software AG
|
|
37 |
All Rights Reserved
|
|
38 |
|
|
39 |
This software is furnished under a license and may be used
|
|
40 |
only in accordance with the terms of that license and with the
|
|
41 |
inclusion of the above copyright notice. This software may not
|
|
42 |
be provided or otherwise made available to, or used by, any
|
|
43 |
other person. No title to or ownership of the software is
|
|
44 |
hereby transferred.
|
|
45 |
"
|
|
46 |
!
|
|
47 |
|
12440
|
48 |
documentation
|
|
49 |
"
|
|
50 |
This is only a hook for compatibility (to be able to fileIn squeak libraries)
|
|
51 |
"
|
22804
|
52 |
!
|
|
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 |
"Copy on the inst side, so subclasses may make their calls on either side"
|
|
61 |
|
|
62 |
<resource: #skipInDebuggersWalkBack>
|
|
63 |
|
|
64 |
|sender|
|
|
65 |
|
|
66 |
sender := thisContext sender.
|
|
67 |
^ PrimitiveFailure
|
|
68 |
raiseRequestWith:(Message selector:sender selector arguments:sender args)
|
|
69 |
in:sender.
|
12440
|
70 |
! !
|
|
71 |
|
13335
|
72 |
!ExternalLibrary methodsFor:'error reporting'!
|
|
73 |
|
|
74 |
externalCallFailed
|
|
75 |
"{ Pragma: +optSpace }"
|
|
76 |
|
|
77 |
"report an error that some external libraray call failed.
|
|
78 |
The error is reported by raising the PrimitiveFailure exception."
|
|
79 |
|
22804
|
80 |
"Copy on the class side, so subclasses may make their calls on either side"
|
|
81 |
|
13335
|
82 |
<resource: #skipInDebuggersWalkBack>
|
|
83 |
|
|
84 |
|sender|
|
|
85 |
|
|
86 |
sender := thisContext sender.
|
22804
|
87 |
^ PrimitiveFailure
|
|
88 |
raiseRequestWith:(Message selector:sender selector arguments:sender args)
|
|
89 |
in:sender.
|
13335
|
90 |
! !
|
|
91 |
|
12440
|
92 |
!ExternalLibrary class methodsFor:'documentation'!
|
|
93 |
|
|
94 |
version_CVS
|
22804
|
95 |
^ '$Header$'
|
12440
|
96 |
! !
|
17453
|
97 |
|