summaryrefslogtreecommitdiff
path: root/bindings/cpp/upb/pb/glue.hpp
blob: be072a760598f589a6b894204854cafd7c54cf46 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/*
 * upb - a minimalist implementation of protocol buffers.
 *
 * Copyright (c) 2011 Google Inc.  See LICENSE for details.
 * Author: Josh Haberman <jhaberman@gmail.com>
 */

#ifndef UPB_PB_GLUE_HPP
#define UPB_PB_GLUE_HPP

#include "upb/upb.hpp"
#include "upb/pb/glue.h"

namespace upb {

bool LoadDescriptorFileIntoSymtab(SymbolTable* s, const char *fname,
                                  Status* status) {
  return upb_load_descriptor_file_into_symtab(s, fname, status);
}

}  // namespace upb

#endif
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback