view CodeAnalysis/README.txt @ 116:32a67788a336

fix memory leaks in orthanc.RestApiPost() and sibling methods
author Alain Mazy <am@osimis.io>
date Mon, 28 Aug 2023 13:08:44 +0200
parents 461dfb859ac7
children 5b59ebc267e1
line wrap: on
line source


Introduction
============

This folder contains the Python script that analyzes the header of the
Orthanc Plugin SDK using clang, then automatically wraps this SDK as a
Python extension module. The output of the script is written to
"../Sources/Autogenerated".


Usage on Ubuntu 18.04
=====================

$ sudo apt-get install python-clang-4.0
$ python2 ./ParseOrthancSDK.py --libclang=libclang-4.0.so.1 \
          --source ../Resources/Orthanc/Sdk-1.10.0/orthanc/OrthancCPlugin.h \
          --target ../Sources/Autogenerated


Run through docker
==================

$ docker-compose up --build