Stir sugar and butter in a small non-reactive saucepan over a moderate heat until butter has melted and sugar has dissolved.
Reduce heat, then add egg and passionfruit pulp and stir continuously until mixture thickens.
Pour into a hot sterilised jar and refrigerate for up to 2 weeks until needed.
