thrift/lib/c_glib
cyy a6a3a787ec THRIFT-4732:refine cmake scripts (#1688)
* add cmake support for clib and remove unused variables
* add targets for code analysis
* add wall to all compilers and add utf-8 options for msvc
2019-02-07 09:27:33 -05:00
..
src/thrift/c_glib THRIFT-4732:refine cmake scripts (#1688) 2019-02-07 09:27:33 -05:00
test THRIFT-4762: Applied some C++11 refactorings to the runtime library and compiler (#1719) 2019-01-29 09:48:12 -05:00
CMakeLists.txt THRIFT-4732:refine cmake scripts (#1688) 2019-02-07 09:27:33 -05:00
coding_standards.md THRIFT-3148 Markdown links to coding_standards are dead 2015-05-13 21:40:26 +02:00
Makefile.am THRIFT-4329: multiplexed processor, client and server for c_glib 2017-11-18 21:10:18 -05:00
README.md THRIFT-4648: Use correct namespace in type names 2018-10-12 07:35:39 -04:00
thrift_c_glib.pc.in THRIFT-2138 c_glib: pkgconfig file created with wrong include path 2013-08-26 21:50:16 +02:00

Thrift C Software Library

License

Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Using Thrift with C

The Thrift C libraries are built using the GNU tools. Follow the instructions in the top-level README in order to generate the Makefiles.

Dependencies

GLib http://www.gtk.org/

Breaking Changes

0.12.0

The compiler's handling of namespaces when generating the name of types, functions and header files has been improved. This means code written to use classes generated by previous versions of the compiler may need to be updated to reflect the proper convention for class names, which is

  • A lowercase, snake-case representation of the class' namespace, followed by
  • An underscore and
  • A lowercase, snake-case representation of the class' name.