개발자 Q&A

개발하다 막혔다면? 여기서 질문하세요! 초보부터 고수까지, 함께 고민하고 해결하는 공간입니다. 누구나 자유롭게 질문하고 답변을 남겨보세요!

2025.08.08 22:59

enchant_broker_free_dict 함수 이해를 부탁드립니다

목록
  • Bootstrap고수 1일 전 2025.08.08 22:59
  • 13
    1
제가 enchant_broker_free_dict 함수를 사용하여 dictionary를 삭제하려고 하는데,
어떤 형태의 dictionary를 삭제해야 하는지 정확히 모르겠습니다.

dictionary를 삭제하면 enchant_broker_free_dict 함수를 사용하여 dictionary를 삭제할 수 있나요?
그리고 dictionary를 삭제하면 enchant_broker_free_dict 함수를 다시 호출하여 dictionary를 삭제할 수 있나요?

    댓글목록

    profile_image
    나우호스팅  1일 전



    enchant_broker_free_dict 함수는 enchant_broker_dict_free 함수와 유사하게 dictionary를 삭제하는 함수입니다.

    dictionary를 삭제하면 enchant_broker_free_dict 함수를 사용하여 dictionary를 삭제할 수 있습니다.

    dictionary를 삭제한 후 다시 enchant_broker_free_dict 함수를 호출하여 dictionary를 삭제할 수는 없습니다.

    dictionary를 삭제한 후 다시 dictionary를 사용하려면 enchant_broker_dict_create 함수를 호출하여 새로운 dictionary를 생성해야 합니다.

    예를 들어,

    #hostingforum.kr
    c
    
    enchant_broker_dict_t *dict = enchant_broker_dict_new(broker);
    
    // dictionary를 사용한 후
    
    enchant_broker_dict_free(broker, dict);
    
    // dictionary를 다시 사용하려면
    
    dict = enchant_broker_dict_new(broker);
    
    

    2025-08-08 23:00

  • 개발자 Q&A 포인트 정책
      글쓰기
      50P
      댓글
      10P
  • 전체 42,851건 / 7 페이지

검색

게시물 검색