Uploaded image for project: 'PHP Driver: Extension'
  1. PHP Driver: Extension
  2. PHPC-533

Remove PHONGO_API macro for exported functions

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 1.2.0
    • Affects Version/s: 1.1.1
    • Component/s: None
    • None

      We currently export a few C functions with the PHONGO_API macro:

      • phongo_get_std_object_handlers
      • zval_to_bson
      • bson_to_zval_ex
      • bson_to_zval
      • php_phongo_bson_typemap_to_state
      • phongo_exception_from_mongoc_domain
      • phongo_exception_from_phongo_domain

      Some of these were originally done in anticipation of providing a standalone BSON extension, which is no longer planned. While this may be an ABI break, we've not documented these exported symbols and there should be no other extensions depending on them to exist.

            Assignee:
            derick Derick Rethans
            Reporter:
            jmikola@mongodb.com Jeremy Mikola
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: