pnoltes commented on code in PR #591:
URL: https://github.com/apache/celix/pull/591#discussion_r1278588007
##########
libs/framework/include/celix_bundle_context.h:
##########
@@ -273,6 +274,18 @@ CELIX_FRAMEWORK_EXPORT bool
celix_bundleContext_isServiceRegistered(celix_bundle
*/
CELIX_FRAMEWORK_EXPORT void
celix_bundleContext_unregisterService(celix_bundle_context_t *ctx, long
serviceId);
+typedef struct celix_service_reg {
+ celix_bundle_context_t* ctx;
+ long svcId;
+} celix_service_reg_t;
+
+static __attribute__((__unused__)) inline void
celix_service_unregister(celix_service_reg_t* reg) {
Review Comment:
Is `CELIX_UNUSED` usable here?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]