Skip to content

morapi_BinaryLib Struct Reference

dnn » binary

Binary library.
More...

#include <morapi_softneuro.h>

Public Member Functions

morapi_Binary morapi_BinaryLib_add (morapi_BinaryLib *self, morapi_Uint64 i_id, morapi_Int32 i_size)
morapi_Binary morapi_BinaryLib_find (morapi_BinaryLib *self, morapi_Uint64 i_id)


Detailed Description

Binary library.


Member Function Documentation


morapi_BinaryLib_add()

morapi_Binary * morapi_BinaryLib_add (morapi_BinaryLib * self,
                                      morapi_Uint64 i_id,
                                      morapi_Int32 i_size)

Adds a binary.

Parameters

  • self : binary library
  • i_id : new binary id
  • i_size : new binary size


morapi_BinaryLib_find()

morapi_Binary * morapi_BinaryLib_find (morapi_BinaryLib * self,
                                       morapi_Uint64 i_id)

Finds the binary.

If it doesn't exist, returns NULL.

Parameters

  • self : binary library
  • i_id : binary id