21 lines · 330 B · C
RawDownload
#include "os.h"#include <mp.h>#include "dat.h" mpint*mpfield(mpint *N){	Mfield *f; 	if(N == nil || N->flags & (MPfield|MPstatic))		return N;	if((f = cnfield(N)) != nil)		goto Exchange;	if((f = gmfield(N)) != nil)		goto Exchange;	return N;Exchange:	setmalloctag(f, getcallerpc(&N));	mpfree(N);	return (mpint*)f;}

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t