summaryrefslogtreecommitdiff
path: root/librabbitmq/codegen.py
Commit message (Collapse)AuthorAgeFilesLines
* Cleaning up Public API decorators on Win32Alan Antonuk2012-05-231-21/+21
| | | | | | | | | | | | | | Removed duplicate #defines of AMQP_PUBLIC/AMQP_PRIVATE in amqp.h & amqp_private.h Split AMQP_PUBLIC into AMQP_PUBLIC_FUNCTION and AMQP_PUBLIC_VARIABLE Added AMQP_CALL to specify calling convention (__cdecl by default) Added -DAMQP_BUILD when building the library Added -DAMQP_STATIC when building the library statically (this is still incomplete on Win32, a installable amqp_config.h is required)
* Set default visibility to hidden & enable a couple more warningsMichael Steinert2012-05-171-34/+54
| | | | | | | | | | | | | | Enable the following GCC options: 1. -Wstrict-prototypes 2. -Wcast-align 3. -fno-common 4. -fvisibility=hidden This commit also includes some general cleanup of header files (mostly for readability). Signed-off-by: Michael Steinert <mike.steinert@gmail.com>
* Merge remote-tracking branch 'upstream/bug24770'Alan Antonuk2012-04-121-52/+40
|\
| * Python uses different comments than CMarek Majkowski2012-04-121-27/+27
| |
| * Automated relicensing of source files MPL/GPL -> MITMarek Majkowski2012-04-121-59/+47
| |
* | Merge remote-tracking branch 'upstream/bug24606'Alan Antonuk2012-04-121-2/+2
|\ \ | |/
| * Update copyright 2012Emile Joubert2012-02-021-2/+2
| |
* | amqp_framing.h should include amqp.hAlan Antonuk2012-03-061-0/+2
|/ | | | amqp_framing.h uses typedefs that are defined in amqp.h
* Remove trailing whitespaceDavid Wragg2011-07-051-1/+1
|
* Include a license block in generated filesbug23872David Wragg2011-03-021-11/+49
| | | | For consistency with broker codegen.
* Python doesn't like C commentsDavid Wragg2011-03-011-35/+35
|
* Update copyright noticesDavid Wragg2011-03-011-47/+35
| | | | And generally bring debian/copyright up to date.
* Extract common code from generated API functionsbug23645David Wragg2011-01-141-12/+4
|
* Generate API functions corresponding to most synchronous methodsDavid Wragg2011-01-071-7/+112
| | | | | | | | | | There's a lot of boilerplate code in amqp_api.c for API functions corresponding to synchronous AMQP methods. And some of the functions that should be there are missing (e.g. basic.qos, basic.cancel). Instead, we can generate these functions from the protocol definition, plus a little information to describe where the function arguments do not reflect all of the method fields.
* Make the examples compile and work under WindowsDavid Wragg2010-10-211-1/+1
|
* Convert generated code to use the new codec helper functionsDavid Wragg2010-10-211-151/+188
|
* Don't produce empty structs in generated codeDavid Wragg2010-10-211-2/+5
| | | | ISO C doesn't allow empty structs; they are a gcc extension.
* merged default into bug22951Alexandru Scvortov2010-08-041-0/+1
|\
| * this branch is default with amqp_0_9_1 merged in; everything seems to work fineAlexandru Scvortov2010-07-091-0/+1
| |
* | A Windows port, using MinGW/MSYSDavid Wragg2010-05-301-0/+1
| |
* | Make error codes returned by librabbitmq functions opaqueDavid Wragg2010-05-301-8/+6
|/ | | | | | | | | | | | | Windows doesn't generally use POSIX error codes, which poses a problem for librabbitmq's approach of using those error codes in its API. So make the librabbitmq error codes opaque: They are still be integers, but client code is not supposed to assume anything about them, except that they can be passed to a new amqp_error_string() function which returns the corresponding error message Internally, the error codes are either taken from a set of librabbitmq-specific values, or correspond to an OS-specific (POSIX or win32) error code, with a simple encoding to indicate which is which.
* Only allocate and check if we would ask for more than zero bytesTony Garnock-Jones2010-04-201-3/+6
|
* Check results of amqp_pool_alloc() and friends.Tony Garnock-Jones2010-04-161-0/+2
|
* Include stdint.h in generated C. HT @geoffgarside.Tony Garnock-Jones2010-03-301-0/+1
|
* Update licensing to dual MPL/GPLTony Garnock-Jones2010-02-211-30/+47
|
* Add "autogenerated code" comment to codegen.Tony Garnock-Jones2010-01-121-1/+4
|
* Add amqp_constant_name() and amqp_constant_is_hard_error().Tony Garnock-Jones2010-01-091-0/+21
|
* Add missing flagword_index incrementTony Garnock-Jones2009-08-121-0/+1
|
* Introduce more mid-level APITony Garnock-Jones2009-05-071-1/+2
|
* Avoid stomping on flags during content properties encoding.Tony Garnock-Jones2009-04-261-9/+14
|
* Publication works!Tony Garnock-Jones2009-04-261-26/+10
|
* More workTony Garnock-Jones2009-04-251-0/+20
|
* Codegen, codecTony Garnock-Jones2009-04-251-159/+250
|
* Start work on codegenTony Garnock-Jones2009-04-251-0/+342