Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

codingstd: no hard tabs

  • Loading branch information...
commit 37796526e03b993a3195931986d1a13a3e87637a 1 parent d708321
@NotFound authored
View
8 t/base/03class.t
@@ -17,7 +17,7 @@ class Foo
if (self.value != null)
return self.value;
else
- return 27;
+ return 27;
}
}
@@ -35,10 +35,10 @@ class FooBar
{
int i;
if (self.n != null)
- i = self.n;
+ i = self.n;
else
- i = 7;
- return i;
+ i = 7;
+ return i;
}
}
View
6 winxedxc.winxed
@@ -267,9 +267,9 @@ function main [main](var argv)
if (incs != null) {
var interp = getinterp();
- var lpaths = interp[IGLOBALS_LIB_PATHS];
- var pathinc = lpaths[PARROT_LIB_PATH_INCLUDE];
- pathinc.push(string(incs));
+ var lpaths = interp[IGLOBALS_LIB_PATHS];
+ var pathinc = lpaths[PARROT_LIB_PATH_INCLUDE];
+ pathinc.push(string(incs));
}
string cxxfiles[];
View
16 winxedxx_bytebuffer.cxx
@@ -40,18 +40,18 @@ void WxxByteBuffer::set_integer_native(int i)
set_pointer(0);
allocated_size = 0;
size = 0;
- }
- else {
- if ((size_t)i > allocated_size) {
+ }
+ else {
+ if ((size_t)i > allocated_size) {
void *newptr = realloc(ptr, i);
- if (! newptr)
- return;
+ if (! newptr)
+ return;
set_pointer(newptr);
allocated_size = i;
size = i;
- }
- size = i;
- }
+ }
+ size = i;
+ }
}
else {
if (i > 0) {
View
6 winxedxx_classes.cxx
@@ -103,7 +103,7 @@ int WxxHash::exists(const std::string &key)
WxxSub::WxxSub(WxxObjectPtr(*fnarg)(const WxxObjectArray &)) :
WxxDefault("Sub"),
- fn(fnarg)
+ fn(fnarg)
{
}
@@ -111,7 +111,7 @@ WxxSub::WxxSub(WxxObjectPtr(*fnarg)(const WxxObjectArray &),
const std::string &subname) :
WxxDefault("Sub"),
name(subname),
- fn(fnarg)
+ fn(fnarg)
{
}
@@ -134,7 +134,7 @@ WxxObjectPtr WxxSub::operator()(WxxObjectArray &args)
WxxClosure::WxxClosure(WxxInnerFunction * fnarg) :
WxxDefault("Sub"),
- fn(fnarg)
+ fn(fnarg)
{
fn->incref();
}
View
6 winxedxx_namespace.cxx
@@ -13,14 +13,14 @@ typedef std::map<std::string, WxxNamespace *> childs_t;
WxxNamespace::WxxNamespace() :
WxxDefault("NameSpace"),
- name("winxedxx"),
+ name("winxedxx"),
parentns(0)
{
}
WxxNamespace::WxxNamespace(const std::string &nsname, WxxNamespace *parent) :
WxxDefault("NameSpace"),
- name(nsname),
+ name(nsname),
parentns(parent)
{
}
@@ -98,7 +98,7 @@ WxxObjectPtr WxxNamespace::call_method(const std::string &methname, WxxObjectArr
return get(args.get_string_keyed(0));
else if (methname == "add_var") {
set(args.get_string_keyed(0), args.get_pmc_keyed(1));
- return winxedxxnull;
+ return winxedxxnull;
}
else
return WxxDefault::call_method(methname, args);
View
4 winxedxx_util.cxx
@@ -365,8 +365,8 @@ int wxx_sleep(double t)
{
if (t >= 1.0) {
int seconds = floor(t);
- sleep(seconds);
- t -= seconds;
+ sleep(seconds);
+ t -= seconds;
}
usleep(t * 1.0e6);
return 0;
Please sign in to comment.
Something went wrong with that request. Please try again.