LibJuno 0.32.0
LibJuno is a lightweight C99 library designed specifically for embedded systems.
Loading...
Searching...
No Matches
string_impl.h
Go to the documentation of this file.
1/*
2 MIT License
3
4 Copyright (c) 2025 Robin A. Onsay
5
6 Permission is hereby granted, free of charge, to any person obtaining
7 a copy of this software and associated documentation files
8 (the "Software"), to deal in the Software without restriction,
9 including without limitation the rights to use, copy, modify, merge,
10 publish, distribute, sublicense, and/or sell copies of the Software,
11 and to permit persons to whom the Software is furnished to do so,
12 subject to the following conditions:
13
14 The above copyright notice and this permission notice shall be
15 included in all copies or substantial portions of the Software.
16*/
17
27#ifndef JUNO_STRING_IMPL_H
28#define JUNO_STRING_IMPL_H
29#include "juno/module.h"
30#include "juno/status.h"
32#ifdef __cplusplus
33extern "C"
34{
35#endif
36
37
38typedef struct JUNO_STRING_IMPL_TAG JUNO_STRING_IMPL_T;
39
40struct JUNO_STRING_IMPL_TAG JUNO_MODULE_DERIVE(JUNO_STRING_ROOT_T,
41 /*
42
43 TODO: Include implementation specific members here
44
45 */
46);
47
48#ifdef JUNO_STRING_DEFAULT
59 JUNO_STRING_IMPL_T tJunoStringImpl;
60);
61#endif
62
63/* TODO: Insert initialization arguments for module members here*/
64JUNO_STATUS_T JunoString_ImplApi(JUNO_STRING_T *ptJunoString, JUNO_FAILURE_HANDLER_T pfcnFailureHandler, JUNO_USER_DATA_T *pvFailureUserData);
65#ifdef __cplusplus
66}
67#endif
68#endif // JUNO_STRING_IMPL_H
69
#define JUNO_MODULE_DERIVE(ROOT_T, members)
Definition module.h:196
#define JUNO_MODULE(API_T, ROOT_T, derived)
Definition module.h:154
void(* JUNO_FAILURE_HANDLER_T)(JUNO_STATUS_T tStatus, const char *pcCustomMessage, JUNO_USER_DATA_T *pvUserData)
Definition status.h:44
enum JUNO_STATUS_TAG JUNO_STATUS_T
void JUNO_USER_DATA_T
Definition status.h:43
struct JUNO_STRING_ROOT_TAG JUNO_STRING_ROOT_T
Definition string_api.h:41
union JUNO_STRING_TAG JUNO_STRING_T
Definition string_api.h:40
JUNO_STATUS_T JunoString_ImplApi(JUNO_STRING_T *ptJunoString, JUNO_FAILURE_HANDLER_T pfcnFailureHandler, JUNO_USER_DATA_T *pvFailureUserData)
struct JUNO_STRING_IMPL_TAG JUNO_STRING_IMPL_T
Definition string_impl.h:38
Definition string_api.h:51