Diff
Not logged in

Differences From Artifact [b7fbf00ab1]:

To Artifact [34a33099be]:


200
201
202
203
204
205
206
207

208
209


210
211
212
213
214
215
216
200
201
202
203
204
205
206

207
208

209
210
211
212
213
214
215
216
217







-
+

-
+
+







				 * field depends on the 'allocated' field
				 * above. */
} ByteArray;

#define BYTEARRAY_SIZE(len) \
		((unsigned) (TclOffset(ByteArray, bytes) + (len)))
#define GET_BYTEARRAY(objPtr) \
		((ByteArray *) (objPtr)->internalRep.otherValuePtr)
		((ByteArray *) (objPtr)->internalRep.twoPtrValue.ptr1)
#define SET_BYTEARRAY(objPtr, baPtr) \
		(objPtr)->internalRep.otherValuePtr = (void *) (baPtr)
		(objPtr)->internalRep.twoPtrValue.ptr1 = (VOID *) (baPtr)


/*
 *----------------------------------------------------------------------
 *
 * Tcl_NewByteArrayObj --
 *
 *	This procedure is creates a new ByteArray object and initializes it