3737/**/
3838
3939#include <stddef.h> /* size_t */
40+ #include <stdint.h> /* uint16_t */
4041
4142DECL_BEGIN
4243
@@ -1161,6 +1162,10 @@ DeeModule_ImportRelString(/*Module*/ DeeObject *__restrict basemodule,
11611162
11621163
11631164#ifdef CONFIG_BUILDING_DEEMON
1165+ struct attribute_info ;
1166+ struct attribute_lookup_rules ;
1167+ struct attrinfo ;
1168+
11641169/* Access global variables of a given module by their name described by a C-string.
11651170 * These functions act and behave just as once would expect, raising errors when
11661171 * appropriate and returning NULL/false/-1 upon error or not knowing the given name. */
@@ -1175,7 +1180,7 @@ INTDEF WUNUSED NONNULL((1, 2)) int DCALL DeeModule_DelAttrStringLenHash(DeeModul
11751180INTDEF WUNUSED NONNULL ((1 , 2 , 4 )) int DCALL DeeModule_SetAttrStringHash (DeeModuleObject * self , char const * __restrict attr , Dee_hash_t hash , DeeObject * value );
11761181INTDEF WUNUSED NONNULL ((1 , 2 , 5 )) int DCALL DeeModule_SetAttrStringLenHash (DeeModuleObject * self , char const * __restrict attr , size_t attrlen , Dee_hash_t hash , DeeObject * value );
11771182INTDEF WUNUSED NONNULL ((1 , 2 , 3 )) int DCALL DeeModule_FindAttr (DeeModuleObject * __restrict self , struct attribute_info * __restrict result , struct attribute_lookup_rules const * __restrict rules );
1178- INTDEF WUNUSED NONNULL ((1 , 2 , 5 )) bool DCALL DeeModule_FindAttrInfoStringLenHash (DeeModuleObject * self , char const * __restrict attr , size_t attrlen , Dee_hash_t hash , struct Dee_attrinfo * __restrict retinfo );
1183+ INTDEF WUNUSED NONNULL ((1 , 2 , 5 )) bool DCALL DeeModule_FindAttrInfoStringLenHash (DeeModuleObject * self , char const * __restrict attr , size_t attrlen , Dee_hash_t hash , struct attrinfo * __restrict retinfo );
11791184
11801185#define DeeModule_GetAttr (self , attr ) DeeModule_GetAttrStringHash(self, DeeString_STR(attr), DeeString_Hash(attr))
11811186#define DeeModule_GetAttrHash (self , attr , hash ) DeeModule_GetAttrStringHash(self, DeeString_STR(attr), hash)
0 commit comments