| 1 |
/* |
| 2 |
Licensed to the Apache Software Foundation (ASF) under one |
| 3 |
or more contributor license agreements. See the NOTICE file |
| 4 |
distributed with this work for additional information |
| 5 |
regarding copyright ownership. The ASF licenses this file |
| 6 |
to you under the Apache License, Version 2.0 (the |
| 7 |
"License"); you may not use this file except in compliance |
| 8 |
with the License. You may obtain a copy of the License at |
| 9 |
|
| 10 |
http://www.apache.org/licenses/LICENSE-2.0 |
| 11 |
|
| 12 |
Unless required by applicable law or agreed to in writing, |
| 13 |
software distributed under the License is distributed on an |
| 14 |
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| 15 |
KIND, either express or implied. See the License for the |
| 16 |
specific language governing permissions and limitations |
| 17 |
under the License. |
| 18 |
*/ |
| 19 |
|
| 20 |
// |
| 21 |
// NOTE: DO NOT EDIT. This file was generated by genwrap.go from the proton header files. |
| 22 |
// Update the generator and re-run if you need to modify this code. |
| 23 |
// |
| 24 |
|
| 25 |
package amqp |
| 26 |
|
| 27 |
// Version check for compatible proton-c library. |
| 28 |
// |
| 29 |
// NOTE: the required version should NOT be increased unless the Go |
| 30 |
// library is modified to require some new proton-c API. That hasn't |
| 31 |
// happened for a long time. |
| 32 |
|
| 33 |
// #include <proton/version.h> |
| 34 |
// #if PN_VERSION_MAJOR == 0 && PN_VERSION_MINOR < 10 |
| 35 |
// #error packages qpid.apache.org/... require Proton-C library version 0.10 or greater |
| 36 |
// #endif |
| 37 |
import "C" |