APWTCL Arnulf's Preferred Web Tcl

Check-in [b5d91aa705]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:added fields to Interp.
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:b5d91aa705291435727161244aca93f8fe768f25
User & Date: arnulf 2014-02-23 10:05:26
Context
2014-02-28
13:57
removed unused code and imports. Leaf check-in: fbecdf4b73 user: arnulf tags: trunk
2014-02-23
10:05
added fields to Interp. check-in: b5d91aa705 user: arnulf tags: trunk
2014-02-12
21:15
added some temporary fields to interp. Will be replaced by Tcl commands later. check-in: 3f603ae819 user: arnulf tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to src/org/apwtcl/lang/Interp.java.

16
17
18
19
20
21
22

23
24
25
26
27
28
29
..
53
54
55
56
57
58
59

60
61
62
63
64
65
66
...
147
148
149
150
151
152
153



154
155
156
157
158
159
160
package org.apwtcl.lang;

//#if memdebug
import java.lang.reflect.Method;
import java.util.ArrayList;
import java.util.HashMap;
import android.content.Context;


import org.apwtcl.lang.objtype.ArrayObjType;
import org.apwtcl.lang.objtype.CoercedDoubleObjType;
import org.apwtcl.lang.objtype.CommandObjType;
import org.apwtcl.lang.objtype.ComparedStringObjType;
import org.apwtcl.lang.objtype.DictObjType;
import org.apwtcl.lang.objtype.DoubleObjType;
................................................................................

//#if memdebug
  /* keep track on how many ApwtclObjs have been created */
  static long interp_count = 0;
  /* actually keep track via weak references of all allocated ApwtclObjs */
//#endif 


  public Context context;
  public boolean is_asset;
  private long id;
  public ArrayObjType array_obj_type;
  public CommandObjType command_obj_type;
  public DictObjType dict_obj_type;
  public CoercedDoubleObjType coerced_double_obj_type;
................................................................................
  public Command expand_macro_cmd;
  public float[] curr_color;
  public int surfaceWidth;
  public int surfaceHeight;
  public float xAngle = 0.0f;
  public float yAngle = 0.0f;
  public float zAngle = 0.0f;




  /* ==================== Interp ================================== */
  public Interp(Context context) {
    ++interp_count;
    id = interp_count;

    this.context = context;







>







 







>







 







>
>
>







16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
..
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
...
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
package org.apwtcl.lang;

//#if memdebug
import java.lang.reflect.Method;
import java.util.ArrayList;
import java.util.HashMap;
import android.content.Context;
import org.apwtcl.apwtclsh.Gles20Info;

import org.apwtcl.lang.objtype.ArrayObjType;
import org.apwtcl.lang.objtype.CoercedDoubleObjType;
import org.apwtcl.lang.objtype.CommandObjType;
import org.apwtcl.lang.objtype.ComparedStringObjType;
import org.apwtcl.lang.objtype.DictObjType;
import org.apwtcl.lang.objtype.DoubleObjType;
................................................................................

//#if memdebug
  /* keep track on how many ApwtclObjs have been created */
  static long interp_count = 0;
  /* actually keep track via weak references of all allocated ApwtclObjs */
//#endif 

  public Gles20Info gles20Info = null;
  public Context context;
  public boolean is_asset;
  private long id;
  public ArrayObjType array_obj_type;
  public CommandObjType command_obj_type;
  public DictObjType dict_obj_type;
  public CoercedDoubleObjType coerced_double_obj_type;
................................................................................
  public Command expand_macro_cmd;
  public float[] curr_color;
  public int surfaceWidth;
  public int surfaceHeight;
  public float xAngle = 0.0f;
  public float yAngle = 0.0f;
  public float zAngle = 0.0f;
  public float deltaX = 0.0f;
  public float deltaY = 0.0f;
  public int loopCnt = 0;

  /* ==================== Interp ================================== */
  public Interp(Context context) {
    ++interp_count;
    id = interp_count;

    this.context = context;