/* * Copyright (c) 2005 Endace Technology Ltd, Hamilton, New Zealand. * All rights reserved. * * This source code is proprietary to Endace Technology Limited and no part * of it may be redistributed, published or disclosed except as outlined in * the written contract supplied with this product. * */ %module py_dag_config_api %{ #include "../../../include/dag_platform.h" #include "../../../include/dag_config.h" #include "../../../include/dag_component.h" #include "../../../include/dag_component_codes.h" #include "../../../include/dag_attribute_codes.h" %} %apply signed char { int8_t } %apply unsigned char { uint8_t } %apply signed short int { int16_t } %apply unsigned short int { uint16_t } %apply signed int { int32_t } %apply unsigned int { uint32_t } %apply signed long long { int64_t } %apply unsigned long long { uint64_t } /* Note that the following typemaps will need to be changed for 64 bit machines */ %apply unsigned long { attr_uuid_t } %apply unsigned long { dag_component_t } %apply unsigned long { dag_card_ref_t } %include "../../../include/dag_platform.h" %include "../../../include/dag_config.h" %include "../../../include/dag_component.h" %include "../../../include/dag_component_codes.h" %include "../../../include/dag_attribute_codes.h" .