//
//  XTHtmlSpecialSpace.m
//  XTads
//
//  Created by Rune Berg on 01/11/2016.
//  Copyright © 2016 Rune Berg. All rights reserved.
//

#import "XTHtmlSpecialSpace.h"
#import "XTAllocDeallocCounter.h"


@implementation XTHtmlSpecialSpace

OVERRIDE_ALLOC_FOR_COUNTER

OVERRIDE_DEALLOC_FOR_COUNTER

+ (id)specialSpaceWithChar:(unichar)ch
{
	XTHtmlSpecialSpace *ss = [[XTHtmlSpecialSpace alloc] initWithChar:ch];
	return ss;
}

- (id)initWithChar:(unichar)ch
{
	self = [super init];
	if (self != nil) {
		_ch = ch;
	}
	return self;
}

@end
