FMI Library: part of JModelica.org
Data Fields

The callbacks struct is sent to all the modules in the library. More...

#include <jm_callbacks.h>

Data Fields

jm_malloc_f malloc
 Allocate non-initialized memory. More...
 
jm_calloc_f calloc
 Allocate zero initialized memory. More...
 
jm_realloc_f realloc
 Re-allocate memory. More...
 
jm_free_f free
 Free-allocated memory. More...
 
jm_logger_f logger
 Logging callback. More...
 
jm_log_level_enu_t log_level
 Logging level. More...
 
jm_voidp context
 Arbitrary context pointer passed to the logger function. More...
 
char errMessageBuffer [JM_MAX_ERROR_MESSAGE_SIZE]
 The buffer used along with jm_get_last_error() More...
 

Detailed Description

The callbacks struct is sent to all the modules in the library.

Definition at line 73 of file jm_callbacks.h.

Field Documentation

jm_malloc_f jm_callbacks::malloc

Allocate non-initialized memory.

Definition at line 75 of file jm_callbacks.h.

jm_calloc_f jm_callbacks::calloc

Allocate zero initialized memory.

Definition at line 77 of file jm_callbacks.h.

jm_realloc_f jm_callbacks::realloc

Re-allocate memory.

Definition at line 79 of file jm_callbacks.h.

jm_free_f jm_callbacks::free

Free-allocated memory.

Definition at line 81 of file jm_callbacks.h.

jm_logger_f jm_callbacks::logger

Logging callback.

Definition at line 83 of file jm_callbacks.h.

jm_log_level_enu_t jm_callbacks::log_level

Logging level.

Definition at line 85 of file jm_callbacks.h.

jm_voidp jm_callbacks::context

Arbitrary context pointer passed to the logger function.

Definition at line 87 of file jm_callbacks.h.

char jm_callbacks::errMessageBuffer[JM_MAX_ERROR_MESSAGE_SIZE]

The buffer used along with jm_get_last_error()

Definition at line 89 of file jm_callbacks.h.


The documentation for this struct was generated from the following file: