Low level option for bpy.ops.object.duplicates_make_real()

I’m looking for a low-level implementation of the operator: bpy.ops.object.duplicates_make_real(). Any one got any idea?

Blender operators are usually implement in C , like most things in Blender , you can find the C operator here

https://git.blender.org/gitweb/gitweb.cgi/blender.git/blob/HEAD:/source/blender/editors/object/object_add.c#l1989

while your journey down the execution path start a few lines above at

https://git.blender.org/gitweb/gitweb.cgi/blender.git/blob/HEAD:/source/blender/editors/object/object_add.c#l1963