pnoltes commented on code in PR #591:
URL: https://github.com/apache/celix/pull/591#discussion_r1279830415


##########
libs/framework/include/celix_bundle_context.h:
##########
@@ -274,18 +274,37 @@ 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 {
+/**
+ * @brief Service registration guard.
+ */
+typedef struct celix_service_registration_guard {
     celix_bundle_context_t* ctx;
     long svcId;
-} celix_service_reg_t;
+} celix_service_registration_guard_t;
+
+/**
+ * @brief Initialize a a scode guard for an existing service registration.

Review Comment:
   typo in `scode`



-- 
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: dev-unsubscr...@celix.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to