code: def new_gp_object(typename):
      
      obj_p = backend.ffi.new("{0}**".format(typename))
      backend.CONSTRUCTORS[typename](obj_p)
      return obj_p[0]
docs: Create an indirect pointer to a GPhoto2 type, call its matching
          constructor function and return the pointer to it.
  
      :param typename:    Name of the type to create.
      :return:            A pointer to the specified data type.