wasCSharpSQLite – Blame information for rev 4
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
1 | office | 1 | /* |
2 | * CObject.java -- |
||
3 | * |
||
4 | * A stub class that represents objects created by the NativeTcl |
||
5 | * interpreter. |
||
6 | * |
||
7 | * Copyright (c) 1997 Sun Microsystems, Inc. |
||
8 | * |
||
9 | * See the file "license.terms" for information on usage and |
||
10 | * redistribution of this file, and for a DISCLAIMER OF ALL |
||
11 | * WARRANTIES. |
||
12 | * |
||
13 | * Included in SQLite3 port to C# for use in testharness only; 2008 Noah B Hart |
||
14 | * |
||
15 | * RCS @(#) $Id: CObject.java,v 1.2 2000/10/29 06:00:41 mdejong Exp $ |
||
16 | */ |
||
17 | using System; |
||
18 | namespace tcl.lang |
||
19 | { |
||
20 | |||
21 | /* |
||
22 | * This is a stub class used in Jacl to represent objects created in |
||
23 | * the Tcl Blend interpreter. Actually CObjects will never appear inside |
||
24 | * Jacl. However, since TclObject (which is shared between the Tcl Blend |
||
25 | * and Jacl implementations) makes some references to CObject, we include |
||
26 | * a stub class here to make the compiler happy. |
||
27 | * |
||
28 | * None of the methods in this implementation will ever be called. |
||
29 | */ |
||
30 | |||
31 | class CObject : InternalRep |
||
32 | { |
||
33 | |||
34 | public void dispose() |
||
35 | { |
||
36 | throw new TclRuntimeError( "This shouldn't be called" ); |
||
37 | } |
||
38 | |||
39 | public InternalRep duplicate() |
||
40 | { |
||
41 | throw new TclRuntimeError( "This shouldn't be called" ); |
||
42 | } |
||
43 | |||
44 | internal void makeReference( TclObject tobj ) |
||
45 | { |
||
46 | throw new TclRuntimeError( "This shouldn't be called" ); |
||
47 | } |
||
48 | |||
49 | public override string ToString() |
||
50 | { |
||
51 | throw new TclRuntimeError( "This shouldn't be called" ); |
||
52 | } |
||
53 | |||
54 | public long CObjectPtr; |
||
55 | public void decrRefCount() |
||
56 | { |
||
57 | } |
||
58 | public void incrRefCount() |
||
59 | { |
||
60 | } |
||
61 | } // end CObject |
||
62 | } |