mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-06 05:27:24 +00:00
[Swift] Object API support (#5826)
* Adds Object-api support to swift * Fixed indentation issues * Removed indentation within namespaces
This commit is contained in:
@@ -75,6 +75,10 @@ class CodeWriter {
|
||||
void DecrementIdentLevel() {
|
||||
if (cur_ident_lvl_) cur_ident_lvl_--;
|
||||
}
|
||||
|
||||
void SetPadding(const std::string &padding) {
|
||||
pad_ = padding;
|
||||
}
|
||||
|
||||
private:
|
||||
std::map<std::string, std::string> value_map_;
|
||||
|
||||
Reference in New Issue
Block a user