Skip to content
This repository has been archived by the owner on Dec 10, 2018. It is now read-only.

Support integer boolean constants. #161

Merged
merged 1 commit into from
Oct 10, 2015
Merged

Conversation

jparise
Copy link
Contributor

@jparise jparise commented Oct 9, 2015

Some Thrift generators used to produce bad code for some languages that used
'true' and 'false' as reserved keywords, so there are Thrift files in the wild
that use {0,1} to represent the {false,true} boolean constant values.

This is also supported by Apache Thrift.

Some Thrift generators used to produce bad code for some languages that used
'true' and 'false' as reserved keywords, so there are Thrift files in the wild
that use {0,1} to represent the {false,true} boolean constant values.

This is also supported by Apache Thrift.
lxyu added a commit that referenced this pull request Oct 10, 2015
Support integer boolean constants.
@lxyu lxyu merged commit 8cc573d into Thriftpy:develop Oct 10, 2015
@jparise jparise deleted the cast-bool-int branch June 23, 2016 01:14
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants